Skip to content

Commit 07998cf

Browse files
Benchmark results: swerver
1 parent dc794b1 commit 07998cf

39 files changed

Lines changed: 6710 additions & 2313 deletions

site/data/baseline-4096.json

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1129,19 +1129,19 @@
11291129
{
11301130
"framework": "swerver",
11311131
"language": "Zig",
1132-
"rps": 3722628,
1133-
"avg_latency": "1.10ms",
1134-
"p99_latency": "2.21ms",
1135-
"cpu": "6341.1%",
1136-
"memory": "9.7GiB",
1132+
"rps": 3664110,
1133+
"avg_latency": "1.12ms",
1134+
"p99_latency": "2.16ms",
1135+
"cpu": "6396.6%",
1136+
"memory": "1.8GiB",
11371137
"connections": 4096,
11381138
"threads": 64,
11391139
"duration": "5s",
11401140
"pipeline": 1,
1141-
"bandwidth": "365.57MB/s",
1142-
"input_bw": "287.56MB/s",
1141+
"bandwidth": "359.81MB/s",
1142+
"input_bw": "283.04MB/s",
11431143
"reconnects": 0,
1144-
"status_2xx": 18613142,
1144+
"status_2xx": 18320551,
11451145
"status_3xx": 0,
11461146
"status_4xx": 0,
11471147
"status_5xx": 0

site/data/baseline-512.json

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1129,19 +1129,19 @@
11291129
{
11301130
"framework": "swerver",
11311131
"language": "Zig",
1132-
"rps": 3543108,
1133-
"avg_latency": "143us",
1134-
"p99_latency": "376us",
1135-
"cpu": "6505.9%",
1136-
"memory": "9.7GiB",
1132+
"rps": 3528277,
1133+
"avg_latency": "144us",
1134+
"p99_latency": "368us",
1135+
"cpu": "6407.9%",
1136+
"memory": "1.8GiB",
11371137
"connections": 512,
11381138
"threads": 64,
11391139
"duration": "5s",
11401140
"pipeline": 1,
1141-
"bandwidth": "347.93MB/s",
1142-
"input_bw": "273.70MB/s",
1141+
"bandwidth": "346.49MB/s",
1142+
"input_bw": "272.55MB/s",
11431143
"reconnects": 0,
1144-
"status_2xx": 17715540,
1144+
"status_2xx": 17641387,
11451145
"status_3xx": 0,
11461146
"status_4xx": 0,
11471147
"status_5xx": 0

site/data/baseline-h2-1024.json

Lines changed: 7 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -375,19 +375,18 @@
375375
{
376376
"framework": "swerver",
377377
"language": "Zig",
378-
"rps": 1472297,
379-
"avg_latency": "64.62ms",
380-
"p99_latency": "64.62ms",
381-
"cpu": "6199.2%",
382-
"memory": "1.7GiB",
378+
"rps": 2267290,
379+
"avg_latency": "42.15ms",
380+
"p99_latency": "42.15ms",
381+
"cpu": "6354.1%",
382+
"memory": "2.4GiB",
383383
"connections": 1024,
384384
"threads": 64,
385385
"duration": "5s",
386386
"pipeline": 1,
387-
"bandwidth": "155.87MB/s",
388-
"input_bw": "",
387+
"bandwidth": "242.90MB/s",
389388
"reconnects": 0,
390-
"status_2xx": 7361507,
389+
"status_2xx": 11472492,
391390
"status_3xx": 0,
392391
"status_4xx": 0,
393392
"status_5xx": 0

site/data/baseline-h2-256.json

Lines changed: 7 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -375,19 +375,18 @@
375375
{
376376
"framework": "swerver",
377377
"language": "Zig",
378-
"rps": 1365031,
379-
"avg_latency": "20.13ms",
380-
"p99_latency": "20.13ms",
381-
"cpu": "5815.6%",
382-
"memory": "1.6GiB",
378+
"rps": 2220716,
379+
"avg_latency": "12.21ms",
380+
"p99_latency": "12.21ms",
381+
"cpu": "6374.5%",
382+
"memory": "1.9GiB",
383383
"connections": 256,
384384
"threads": 64,
385385
"duration": "5s",
386386
"pipeline": 1,
387-
"bandwidth": "144.50MB/s",
388-
"input_bw": "",
387+
"bandwidth": "236.49MB/s",
389388
"reconnects": 0,
390-
"status_2xx": 6825179,
389+
"status_2xx": 11170202,
391390
"status_3xx": 0,
392391
"status_4xx": 0,
393392
"status_5xx": 0

site/data/baseline-h3-64.json

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -155,6 +155,25 @@
155155
"status_4xx": 0,
156156
"status_5xx": 0
157157
},
158+
{
159+
"framework": "swerver",
160+
"language": "Zig",
161+
"rps": 872911,
162+
"avg_latency": "1.34ms",
163+
"p99_latency": "4.39ms",
164+
"cpu": "4162.4%",
165+
"memory": "1.7GiB",
166+
"connections": 64,
167+
"threads": 64,
168+
"duration": "5s",
169+
"pipeline": 1,
170+
"bandwidth": "33.37MB/s",
171+
"reconnects": 0,
172+
"status_2xx": 4373285,
173+
"status_3xx": 0,
174+
"status_4xx": 0,
175+
"status_5xx": 0
176+
},
158177
{
159178
"framework": "symfony-spawn-franken",
160179
"language": "PHP",

site/data/frameworks.json

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -569,6 +569,13 @@
569569
"type": "tuned",
570570
"engine": "frankenphp"
571571
},
572+
"symfony-spawn-tas": {
573+
"dir": "symfony-spawn-tas",
574+
"description": "Symfony with symfony-spawn bundle: coroutine-per-request isolation via TrueAsync PHP core, Doctrine DBAL connection pooling, and TrueAsyncServer.",
575+
"repo": "https://github.com/yangusik/symfony-spawn",
576+
"type": "tuned",
577+
"engine": "true-async-server"
578+
},
572579
"tonic-grpc": {
573580
"dir": "tonic-grpc",
574581
"description": "Rust gRPC server using tonic, a native Rust gRPC implementation built on top of hyper and tower.",

site/data/json-4096.json

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -896,19 +896,19 @@
896896
{
897897
"framework": "swerver",
898898
"language": "Zig",
899-
"rps": 2343603,
900-
"avg_latency": "1.29ms",
901-
"p99_latency": "3.74ms",
902-
"cpu": "6581.3%",
903-
"memory": "9.8GiB",
899+
"rps": 2366920,
900+
"avg_latency": "1.24ms",
901+
"p99_latency": "3.87ms",
902+
"cpu": "6386.6%",
903+
"memory": "1.9GiB",
904904
"connections": 4096,
905905
"threads": 64,
906906
"duration": "5s",
907907
"pipeline": 1,
908-
"bandwidth": "4.38GB/s",
909-
"input_bw": "111.75MB/s",
910-
"reconnects": 467464,
911-
"status_2xx": 11718016,
908+
"bandwidth": "4.42GB/s",
909+
"input_bw": "112.86MB/s",
910+
"reconnects": 473526,
911+
"status_2xx": 11834600,
912912
"status_3xx": 0,
913913
"status_4xx": 0,
914914
"status_5xx": 0

site/data/json-tls-4096.json

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -478,6 +478,25 @@
478478
"status_4xx": 0,
479479
"status_5xx": 0
480480
},
481+
{
482+
"framework": "swerver",
483+
"language": "Zig",
484+
"rps": 1950310,
485+
"avg_latency": "2.03ms",
486+
"p99_latency": "2.03ms",
487+
"cpu": "6400.3%",
488+
"memory": "2.1GiB",
489+
"connections": 4096,
490+
"threads": 64,
491+
"duration": "5s",
492+
"pipeline": 1,
493+
"bandwidth": "3.64GB",
494+
"reconnects": 0,
495+
"status_2xx": 9948101,
496+
"status_3xx": 0,
497+
"status_4xx": 0,
498+
"status_5xx": 0
499+
},
481500
{
482501
"framework": "Swoole",
483502
"language": "PHP",

site/data/limited-conn-4096.json

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1129,19 +1129,19 @@
11291129
{
11301130
"framework": "swerver",
11311131
"language": "Zig",
1132-
"rps": 2587542,
1133-
"avg_latency": "1.49ms",
1134-
"p99_latency": "3.44ms",
1135-
"cpu": "6107.3%",
1136-
"memory": "9.8GiB",
1132+
"rps": 2556130,
1133+
"avg_latency": "1.47ms",
1134+
"p99_latency": "2.65ms",
1135+
"cpu": "6165.8%",
1136+
"memory": "1.9GiB",
11371137
"connections": 4096,
11381138
"threads": 64,
11391139
"duration": "5s",
11401140
"pipeline": 1,
1141-
"bandwidth": "254.06MB/s",
1142-
"input_bw": "199.88MB/s",
1143-
"reconnects": 1293346,
1144-
"status_2xx": 12937714,
1141+
"bandwidth": "250.99MB/s",
1142+
"input_bw": "197.45MB/s",
1143+
"reconnects": 1276881,
1144+
"status_2xx": 12780653,
11451145
"status_3xx": 0,
11461146
"status_4xx": 0,
11471147
"status_5xx": 0

site/data/limited-conn-512.json

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1129,19 +1129,19 @@
11291129
{
11301130
"framework": "swerver",
11311131
"language": "Zig",
1132-
"rps": 2303229,
1133-
"avg_latency": "208us",
1134-
"p99_latency": "741us",
1135-
"cpu": "5725.6%",
1136-
"memory": "9.7GiB",
1132+
"rps": 2396962,
1133+
"avg_latency": "198us",
1134+
"p99_latency": "683us",
1135+
"cpu": "5778.4%",
1136+
"memory": "1.8GiB",
11371137
"connections": 512,
11381138
"threads": 64,
11391139
"duration": "5s",
11401140
"pipeline": 1,
1141-
"bandwidth": "226.18MB/s",
1142-
"input_bw": "177.92MB/s",
1143-
"reconnects": 1151615,
1144-
"status_2xx": 11516147,
1141+
"bandwidth": "235.36MB/s",
1142+
"input_bw": "185.16MB/s",
1143+
"reconnects": 1198476,
1144+
"status_2xx": 11984811,
11451145
"status_3xx": 0,
11461146
"status_4xx": 0,
11471147
"status_5xx": 0

0 commit comments

Comments
 (0)