Skip to content

Commit d82da2d

Browse files
authored
Merge pull request #257 from MDA2AV/test/u2
test
2 parents abc8cc1 + 96ed218 commit d82da2d

19 files changed

Lines changed: 994 additions & 2 deletions

frameworks/uwebsockets/server.js

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,6 @@ function startServer() {
6363
});
6464
});
6565

66-
// c1
6766
// Catch-all GET — /baseline11 etc: sum query params
6867
app.get('/*', (res, req) => {
6968
const qs = req.getQuery();

site/data/baseline-16384.json

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1058,5 +1058,25 @@
10581058
"status_3xx": 0,
10591059
"status_4xx": 0,
10601060
"status_5xx": 0
1061+
},
1062+
{
1063+
"framework": "uWebSockets.js",
1064+
"language": "JS",
1065+
"rps": 2275226,
1066+
"avg_latency": "7.01ms",
1067+
"p99_latency": "13.20ms",
1068+
"cpu": "6243.0%",
1069+
"memory": "927.9MiB",
1070+
"connections": 16384,
1071+
"threads": 64,
1072+
"duration": "5s",
1073+
"pipeline": 1,
1074+
"bandwidth": "306.24MB/s",
1075+
"input_bw": "175.76MB/s",
1076+
"reconnects": 0,
1077+
"status_2xx": 11398883,
1078+
"status_3xx": 0,
1079+
"status_4xx": 0,
1080+
"status_5xx": 0
10611081
}
10621082
]

site/data/baseline-4096.json

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1058,5 +1058,25 @@
10581058
"status_3xx": 0,
10591059
"status_4xx": 0,
10601060
"status_5xx": 0
1061+
},
1062+
{
1063+
"framework": "uWebSockets.js",
1064+
"language": "JS",
1065+
"rps": 2370163,
1066+
"avg_latency": "1.73ms",
1067+
"p99_latency": "3.60ms",
1068+
"cpu": "6412.2%",
1069+
"memory": "848.0MiB",
1070+
"connections": 4096,
1071+
"threads": 64,
1072+
"duration": "5s",
1073+
"pipeline": 1,
1074+
"bandwidth": "318.49MB/s",
1075+
"input_bw": "183.09MB/s",
1076+
"reconnects": 0,
1077+
"status_2xx": 11850818,
1078+
"status_3xx": 0,
1079+
"status_4xx": 0,
1080+
"status_5xx": 0
10611081
}
10621082
]

site/data/baseline-512.json

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1058,5 +1058,25 @@
10581058
"status_3xx": 0,
10591059
"status_4xx": 0,
10601060
"status_5xx": 0
1061+
},
1062+
{
1063+
"framework": "uWebSockets.js",
1064+
"language": "JS",
1065+
"rps": 2307758,
1066+
"avg_latency": "221us",
1067+
"p99_latency": "608us",
1068+
"cpu": "6578.0%",
1069+
"memory": "834.1MiB",
1070+
"connections": 512,
1071+
"threads": 64,
1072+
"duration": "5s",
1073+
"pipeline": 1,
1074+
"bandwidth": "310.22MB/s",
1075+
"input_bw": "178.27MB/s",
1076+
"reconnects": 0,
1077+
"status_2xx": 11538791,
1078+
"status_3xx": 0,
1079+
"status_4xx": 0,
1080+
"status_5xx": 0
10611081
}
10621082
]

site/data/current.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
"os": "Ubuntu 24.04.4 LTS",
88
"kernel": "6.17.0-19-generic",
99
"docker": "29.3.0",
10-
"commit": "40a4b16",
10+
"commit": "a9e26ca",
1111
"governor": "performance",
1212
"docker_runtime": "runc",
1313
"threads_per_core": "2",

site/data/frameworks.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -63,6 +63,7 @@
6363
"tonic-grpc": {"description": "Rust gRPC server using tonic, a native Rust gRPC implementation built on top of hyper and tower.", "repo": "https://github.com/hyperium/tonic", "type": "framework", "engine": "Tonic"},
6464
"ulfius": {"description": "Ulfius C REST framework built on GNU Libmicrohttpd with Jansson JSON. Lightweight with small memory footprint, designed for embedded systems.", "repo": "https://github.com/babelouest/ulfius", "type": "framework", "engine": "libmicrohttpd"},
6565
"ultimate-express": {"description": "ultimate-express (Express API on uWebSockets.js) with single-process threading.", "repo": "https://github.com/dimdenGD/ultimate-express", "type": "framework", "engine": "uWebSockets"},
66+
"uWebSockets.js": {"description": "Native C++ HTTP/WebSocket server exposed as a Node.js addon. Uses µSockets event loop with epoll, bypassing Node's HTTP stack entirely.", "repo": "https://github.com/uNetworking/uWebSockets.js", "type": "engine", "engine": "uWebSockets"},
6667
"vertx": {"description": "Eclipse Vert.x 4.5 — reactive toolkit on Netty with event-loop threading, JDK 21.", "repo": "https://github.com/eclipse-vertx/vert.x", "type": "engine", "engine": "Netty"},
6768
"workerman": {"description": "Workerman with PHP content handlers for all benchmark endpoints.", "repo": "https://github.com/walkor/Workerman", "type": "framework", "engine": "workerman"},
6869
"workerman-websocket": {"description": "Workerman WebSocket echo server", "repo": "https://github.com/walkor/Workerman", "type": "framework", "engine": "Workerman"}

site/data/limited-conn-4096.json

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1043,5 +1043,25 @@
10431043
"status_3xx": 0,
10441044
"status_4xx": 0,
10451045
"status_5xx": 0
1046+
},
1047+
{
1048+
"framework": "uWebSockets.js",
1049+
"language": "JS",
1050+
"rps": 1767215,
1051+
"avg_latency": "2.23ms",
1052+
"p99_latency": "13.50ms",
1053+
"cpu": "6604.8%",
1054+
"memory": "1.5GiB",
1055+
"connections": 4096,
1056+
"threads": 64,
1057+
"duration": "5s",
1058+
"pipeline": 1,
1059+
"bandwidth": "237.83MB/s",
1060+
"input_bw": "136.51MB/s",
1061+
"reconnects": 884996,
1062+
"status_2xx": 8853751,
1063+
"status_3xx": 0,
1064+
"status_4xx": 0,
1065+
"status_5xx": 0
10461066
}
10471067
]

site/data/limited-conn-512.json

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1043,5 +1043,25 @@
10431043
"status_3xx": 0,
10441044
"status_4xx": 0,
10451045
"status_5xx": 0
1046+
},
1047+
{
1048+
"framework": "uWebSockets.js",
1049+
"language": "JS",
1050+
"rps": 1315508,
1051+
"avg_latency": "367us",
1052+
"p99_latency": "2.26ms",
1053+
"cpu": "5871.7%",
1054+
"memory": "1.5GiB",
1055+
"connections": 512,
1056+
"threads": 64,
1057+
"duration": "5s",
1058+
"pipeline": 1,
1059+
"bandwidth": "176.83MB/s",
1060+
"input_bw": "101.62MB/s",
1061+
"reconnects": 657756,
1062+
"status_2xx": 6577542,
1063+
"status_3xx": 0,
1064+
"status_4xx": 0,
1065+
"status_5xx": 0
10461066
}
10471067
]

site/data/pipelined-16384.json

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1045,5 +1045,25 @@
10451045
"status_3xx": 0,
10461046
"status_4xx": 0,
10471047
"status_5xx": 0
1048+
},
1049+
{
1050+
"framework": "uWebSockets.js",
1051+
"language": "JS",
1052+
"rps": 19157448,
1053+
"avg_latency": "13.14ms",
1054+
"p99_latency": "53.40ms",
1055+
"cpu": "8622.3%",
1056+
"memory": "1.5GiB",
1057+
"connections": 16384,
1058+
"threads": 64,
1059+
"duration": "5s",
1060+
"pipeline": 16,
1061+
"bandwidth": "2.52GB/s",
1062+
"input_bw": "",
1063+
"reconnects": 0,
1064+
"status_2xx": 95978816,
1065+
"status_3xx": 0,
1066+
"status_4xx": 0,
1067+
"status_5xx": 0
10481068
}
10491069
]

site/data/pipelined-4096.json

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1045,5 +1045,25 @@
10451045
"status_3xx": 0,
10461046
"status_4xx": 0,
10471047
"status_5xx": 0
1048+
},
1049+
{
1050+
"framework": "uWebSockets.js",
1051+
"language": "JS",
1052+
"rps": 20109378,
1053+
"avg_latency": "3.25ms",
1054+
"p99_latency": "12.20ms",
1055+
"cpu": "9340.2%",
1056+
"memory": "1.4GiB",
1057+
"connections": 4096,
1058+
"threads": 64,
1059+
"duration": "5s",
1060+
"pipeline": 16,
1061+
"bandwidth": "2.64GB/s",
1062+
"input_bw": "",
1063+
"reconnects": 0,
1064+
"status_2xx": 100546891,
1065+
"status_3xx": 0,
1066+
"status_4xx": 0,
1067+
"status_5xx": 0
10481068
}
10491069
]

0 commit comments

Comments
 (0)