Skip to content

Commit 7d18607

Browse files
authored
[xitca-web] disable broken test (TechEmpower#10419)
* [xitca-web] disable broken test * fxi toasty build * fix lifetime of pool connetion in update * improve perf of toasty
1 parent 7fc8e5f commit 7d18607

12 files changed

Lines changed: 252 additions & 251 deletions

File tree

frameworks/Rust/xitca-web/Cargo.lock

Lines changed: 38 additions & 16 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

frameworks/Rust/xitca-web/Cargo.toml

Lines changed: 11 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ edition = "2024"
66
[[bin]]
77
name = "xitca-web"
88
path = "./src/main.rs"
9-
required-features = ["io-uring", "json", "pg", "router", "template"]
9+
required-features = ["io-uring", "pg", "router", "template"]
1010

1111
[[bin]]
1212
name = "xitca-web-barebone"
@@ -32,16 +32,15 @@ diesel = ["dep:diesel", "dep:diesel-async", "dep:xitca-postgres-diesel", "dep:fu
3232
toasty = ["dep:toasty", "dep:xitca-postgres-toasty", "futures-util/alloc"]
3333
# http router optional
3434
router = ["xitca-http/router"]
35-
# web optional
36-
web = ["dep:xitca-web"]
3735
# web with macros optional
3836
web-codegen = ["xitca-web/codegen", "xitca-web/urlencoded"]
3937
# template optional
4038
template = ["dep:sailfish"]
4139
# io-uring optional
4240
io-uring = ["dep:tokio-uring", "xitca-http/io-uring", "xitca-server/io-uring"]
4341
# unrealistic performance optimization
44-
perf = ["dep:core_affinity", "dep:mimalloc", "tokio/parking_lot"]
42+
perf = ["perf-allocator", "dep:core_affinity", "tokio/parking_lot"]
43+
perf-allocator = ["dep:mimalloc"]
4544
# regular json serializer
4645
json = ["serde_json"]
4746
# performance optimization json serializer
@@ -99,20 +98,19 @@ codegen-units = 1
9998
panic = "abort"
10099

101100
[patch.crates-io]
102-
xitca-postgres-diesel = { git = "https://github.com/fakeshadow/xitca-postgres-diesel", rev = "fb5dcba" }
103-
xitca-postgres-toasty = { git = "https://github.com/fakeshadow/xitca-postgres-toasty", rev = "02c6604" }
101+
xitca-postgres-diesel = { git = "https://github.com/fakeshadow/xitca-postgres-diesel", rev = "1bd39ac" }
102+
xitca-postgres-toasty = { git = "https://github.com/fakeshadow/xitca-postgres-toasty", rev = "270fe35" }
104103

105-
# personal fork for efficient toasty engine fine tuned with pipelined xitca-postgres client
106104
toasty = { git = "https://github.com/fakeshadow/toasty", branch = "engine" }
107105
toasty-core = { git = "https://github.com/fakeshadow/toasty", branch = "engine" }
108106
toasty-sql = { git = "https://github.com/fakeshadow/toasty", branch = "engine" }
109107

110108
# personal fork of tokio-uring with tokio local runtime enabled
111109
tokio-uring = { git = "http://github.com/fakeshadow/tokio-uring", rev = "c3d5887" }
112110

113-
xitca-codegen = { git = "http://github.com/HFQR/xitca-web", rev = "b723c0c" }
114-
xitca-http = { git = "http://github.com/HFQR/xitca-web", rev = "b723c0c" }
115-
xitca-postgres = { git = "http://github.com/HFQR/xitca-web", rev = "b723c0c" }
116-
xitca-server = { git = "http://github.com/HFQR/xitca-web", rev = "b723c0c" }
117-
xitca-service = { git = "http://github.com/HFQR/xitca-web", rev = "b723c0c" }
118-
xitca-web = { git = "http://github.com/HFQR/xitca-web", rev = "b723c0c" }
111+
xitca-codegen = { git = "http://github.com/HFQR/xitca-web", rev = "faf1ae2" }
112+
xitca-http = { git = "http://github.com/HFQR/xitca-web", rev = "faf1ae2" }
113+
xitca-postgres = { git = "http://github.com/HFQR/xitca-web", rev = "faf1ae2" }
114+
xitca-server = { git = "http://github.com/HFQR/xitca-web", rev = "faf1ae2" }
115+
xitca-service = { git = "http://github.com/HFQR/xitca-web", rev = "faf1ae2" }
116+
xitca-web = { git = "http://github.com/HFQR/xitca-web", rev = "faf1ae2" }

frameworks/Rust/xitca-web/benchmark_config.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,6 @@
5050
"db_url": "/db",
5151
"fortune_url": "/fortunes",
5252
"query_url": "/queries?q=",
53-
"update_url": "/updates?q=",
5453
"port": 8080,
5554
"approach": "realistic",
5655
"classification": "fullstack",

0 commit comments

Comments
 (0)