summaryrefslogtreecommitdiff
path: root/Cargo.lock
diff options
context:
space:
mode:
authorDivy Srivastava <dj.srivastava23@gmail.com>2023-04-06 18:44:31 +0530
committerGitHub <noreply@github.com>2023-04-06 18:44:31 +0530
commit4cc8784f5b3a71b2a882ff359d593b4b74c9e89b (patch)
tree16c398325e76a7fbf4ac87f1ca9a82778e3dabca /Cargo.lock
parent3b62a58818f83e32fc2644f44e75a5c8465b2003 (diff)
perf(ext/websocket): replace tokio_tungstenite server with fastwebsockets (#18587)
https://github.com/littledivy/fastwebsockets ``` # This PR ./load_test 100 0.0.0.0 8080 0 0 Running benchmark now... Msg/sec: 176355.000000 # main ./load_test 100 0.0.0.0 8080 0 0 Running benchmark now... Msg/sec: 157198.750000 ```
Diffstat (limited to 'Cargo.lock')
-rw-r--r--Cargo.lock19
1 files changed, 19 insertions, 0 deletions
diff --git a/Cargo.lock b/Cargo.lock
index 5b1f42999..2a21a541a 100644
--- a/Cargo.lock
+++ b/Cargo.lock
@@ -1274,6 +1274,7 @@ version = "0.102.0"
dependencies = [
"deno_core",
"deno_tls",
+ "fastwebsockets",
"http",
"hyper",
"serde",
@@ -1680,6 +1681,18 @@ dependencies = [
]
[[package]]
+name = "fastwebsockets"
+version = "0.1.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "45dfdedde2bd984f677056a9a804fe995990ab4f4594599c848c05a10ee8c05e"
+dependencies = [
+ "cc",
+ "simdutf8",
+ "tokio",
+ "utf-8",
+]
+
+[[package]]
name = "fd-lock"
version = "3.0.10"
source = "registry+https://github.com/rust-lang/crates.io-index"
@@ -3914,6 +3927,12 @@ dependencies = [
]
[[package]]
+name = "simdutf8"
+version = "0.1.4"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "f27f6278552951f1f2b8cf9da965d10969b2efdea95a6ec47987ab46edfe263a"
+
+[[package]]
name = "siphasher"
version = "0.3.10"
source = "registry+https://github.com/rust-lang/crates.io-index"