Skip to content

Commit fe91f2d

Browse files
Benchmark results: swoole
1 parent 95b5a97 commit fe91f2d

54 files changed

Lines changed: 711 additions & 20078 deletions

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

site/data/api-16-1024.json

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -825,28 +825,28 @@
825825
{
826826
"framework": "Swoole",
827827
"language": "PHP",
828-
"rps": 131689,
829-
"avg_latency": "5.99ms",
830-
"p99_latency": "42.90ms",
831-
"cpu": "1757.8%",
832-
"memory": "258.8MiB",
828+
"rps": 133274,
829+
"avg_latency": "5.95ms",
830+
"p99_latency": "46.20ms",
831+
"cpu": "1759.5%",
832+
"memory": "261MiB",
833833
"connections": 1024,
834834
"threads": 64,
835835
"duration": "5s",
836836
"pipeline": 1,
837-
"bandwidth": "668.41MB/s",
838-
"input_bw": "7.41MB/s",
839-
"reconnects": 395033,
840-
"status_2xx": 1975335,
837+
"bandwidth": "676.57MB/s",
838+
"input_bw": "7.50MB/s",
839+
"reconnects": 399781,
840+
"status_2xx": 1999119,
841841
"status_3xx": 0,
842842
"status_4xx": 0,
843843
"status_5xx": 0,
844-
"tpl_baseline": 740859,
845-
"tpl_json": 741149,
844+
"tpl_baseline": 749605,
845+
"tpl_json": 750086,
846846
"tpl_db": 0,
847847
"tpl_upload": 0,
848848
"tpl_static": 0,
849-
"tpl_async_db": 493323
849+
"tpl_async_db": 499424
850850
},
851851
{
852852
"framework": "uvicorn",

site/data/api-4-256.json

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -825,28 +825,28 @@
825825
{
826826
"framework": "Swoole",
827827
"language": "PHP",
828-
"rps": 46045,
829-
"avg_latency": "4.12ms",
830-
"p99_latency": "27.50ms",
831-
"cpu": "406.4%",
832-
"memory": "214.7MiB",
828+
"rps": 46212,
829+
"avg_latency": "3.99ms",
830+
"p99_latency": "27.40ms",
831+
"cpu": "403.4%",
832+
"memory": "228MiB",
833833
"connections": 256,
834834
"threads": 64,
835835
"duration": "5s",
836836
"pipeline": 1,
837-
"bandwidth": "233.65MB/s",
838-
"input_bw": "2.59MB/s",
839-
"reconnects": 138121,
840-
"status_2xx": 690680,
837+
"bandwidth": "234.55MB/s",
838+
"input_bw": "2.60MB/s",
839+
"reconnects": 138616,
840+
"status_2xx": 693190,
841841
"status_3xx": 0,
842842
"status_4xx": 0,
843843
"status_5xx": 0,
844-
"tpl_baseline": 259149,
845-
"tpl_json": 258945,
844+
"tpl_baseline": 260027,
845+
"tpl_json": 260030,
846846
"tpl_db": 0,
847847
"tpl_upload": 0,
848848
"tpl_static": 0,
849-
"tpl_async_db": 172586
849+
"tpl_async_db": 173133
850850
},
851851
{
852852
"framework": "uvicorn",

site/data/async-db-1024.json

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -653,19 +653,19 @@
653653
{
654654
"framework": "Swoole",
655655
"language": "PHP",
656-
"rps": 243187,
657-
"avg_latency": "3.66ms",
658-
"p99_latency": "17.70ms",
659-
"cpu": "4269.3%",
660-
"memory": "270.9MiB",
656+
"rps": 237024,
657+
"avg_latency": "3.67ms",
658+
"p99_latency": "26.30ms",
659+
"cpu": "4403.6%",
660+
"memory": "243MiB",
661661
"connections": 1024,
662662
"threads": 64,
663663
"duration": "5s",
664664
"pipeline": 1,
665-
"bandwidth": "940.11MB/s",
666-
"input_bw": "16.23MB/s",
667-
"reconnects": 96968,
668-
"status_2xx": 2431871,
665+
"bandwidth": "916.39MB/s",
666+
"input_bw": "15.82MB/s",
667+
"reconnects": 94672,
668+
"status_2xx": 2370240,
669669
"status_3xx": 0,
670670
"status_4xx": 0,
671671
"status_5xx": 0

site/data/baseline-4096.json

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -927,19 +927,19 @@
927927
{
928928
"framework": "Swoole",
929929
"language": "PHP",
930-
"rps": 2034436,
931-
"avg_latency": "2.01ms",
932-
"p99_latency": "8.16ms",
933-
"cpu": "6532.1%",
934-
"memory": "211.5MiB",
930+
"rps": 2086943,
931+
"avg_latency": "1.96ms",
932+
"p99_latency": "10.00ms",
933+
"cpu": "6531.3%",
934+
"memory": "202MiB",
935935
"connections": 4096,
936936
"threads": 64,
937937
"duration": "5s",
938938
"pipeline": 1,
939-
"bandwidth": "300.65MB/s",
940-
"input_bw": "157.16MB/s",
939+
"bandwidth": "308.41MB/s",
940+
"input_bw": "161.21MB/s",
941941
"reconnects": 0,
942-
"status_2xx": 10172183,
942+
"status_2xx": 10434717,
943943
"status_3xx": 0,
944944
"status_4xx": 0,
945945
"status_5xx": 0

site/data/baseline-512.json

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -927,19 +927,19 @@
927927
{
928928
"framework": "Swoole",
929929
"language": "PHP",
930-
"rps": 2035856,
931-
"avg_latency": "250us",
932-
"p99_latency": "3.31ms",
933-
"cpu": "6714.5%",
934-
"memory": "201.6MiB",
930+
"rps": 2027259,
931+
"avg_latency": "252us",
932+
"p99_latency": "3.38ms",
933+
"cpu": "6732.9%",
934+
"memory": "194MiB",
935935
"connections": 512,
936936
"threads": 64,
937937
"duration": "5s",
938938
"pipeline": 1,
939-
"bandwidth": "300.86MB/s",
940-
"input_bw": "157.27MB/s",
939+
"bandwidth": "299.60MB/s",
940+
"input_bw": "156.60MB/s",
941941
"reconnects": 0,
942-
"status_2xx": 10179282,
942+
"status_2xx": 10136298,
943943
"status_3xx": 0,
944944
"status_4xx": 0,
945945
"status_5xx": 0

site/data/baseline-h2-1024.json

Lines changed: 7 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -357,19 +357,18 @@
357357
{
358358
"framework": "Swoole",
359359
"language": "PHP",
360-
"rps": 1254047,
361-
"avg_latency": "74.92ms",
362-
"p99_latency": "74.92ms",
363-
"cpu": "5187.5%",
364-
"memory": "259.3MiB",
360+
"rps": 1599781,
361+
"avg_latency": "59.09ms",
362+
"p99_latency": "59.09ms",
363+
"cpu": "6687.6%",
364+
"memory": "257MiB",
365365
"connections": 1024,
366366
"threads": 64,
367367
"duration": "5s",
368368
"pipeline": 1,
369-
"bandwidth": "32.33MB/s",
370-
"input_bw": "",
369+
"bandwidth": "41.81MB/s",
371370
"reconnects": 0,
372-
"status_2xx": 6270311,
371+
"status_2xx": 8110893,
373372
"status_3xx": 0,
374373
"status_4xx": 0,
375374
"status_5xx": 0

site/data/baseline-h2-256.json

Lines changed: 7 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -357,19 +357,18 @@
357357
{
358358
"framework": "Swoole",
359359
"language": "PHP",
360-
"rps": 1328208,
361-
"avg_latency": "20.74ms",
362-
"p99_latency": "20.74ms",
363-
"cpu": "5428.1%",
364-
"memory": "201.4MiB",
360+
"rps": 1602268,
361+
"avg_latency": "16.65ms",
362+
"p99_latency": "16.65ms",
363+
"cpu": "6719.2%",
364+
"memory": "206MiB",
365365
"connections": 256,
366366
"threads": 64,
367367
"duration": "5s",
368368
"pipeline": 1,
369-
"bandwidth": "34.21MB/s",
370-
"input_bw": "",
369+
"bandwidth": "41.51MB/s",
371370
"reconnects": 0,
372-
"status_2xx": 6641111,
371+
"status_2xx": 8059411,
373372
"status_3xx": 0,
374373
"status_4xx": 0,
375374
"status_5xx": 0

site/data/baseline-h2c-1024.json

Lines changed: 71 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -1,38 +1,95 @@
11
[
2+
{
3+
"framework": "actix",
4+
"language": "Rust",
5+
"rps": 4282445,
6+
"avg_latency": "23.22ms",
7+
"p99_latency": "23.22ms",
8+
"cpu": "6451.7%",
9+
"memory": "496MiB",
10+
"connections": 1024,
11+
"threads": 64,
12+
"duration": "5s",
13+
"pipeline": 1,
14+
"bandwidth": "149.12MB/s",
15+
"reconnects": 0,
16+
"status_2xx": 21712000,
17+
"status_3xx": 0,
18+
"status_4xx": 0,
19+
"status_5xx": 0
20+
},
221
{
322
"framework": "aspnet-minimal",
423
"language": "C#",
5-
"rps": 3227136,
6-
"avg_latency": "33.88ms",
7-
"p99_latency": "33.88ms",
8-
"cpu": "6140.9%",
9-
"memory": "2.9GiB",
24+
"rps": 3215730,
25+
"avg_latency": "34.26ms",
26+
"p99_latency": "34.26ms",
27+
"cpu": "6086.9%",
28+
"memory": "2.6GiB",
29+
"connections": 1024,
30+
"threads": 64,
31+
"duration": "5s",
32+
"pipeline": 1,
33+
"bandwidth": "71.72MB/s",
34+
"reconnects": 0,
35+
"status_2xx": 16335910,
36+
"status_3xx": 0,
37+
"status_4xx": 0,
38+
"status_5xx": 0
39+
},
40+
{
41+
"framework": "h2o",
42+
"language": "C",
43+
"rps": 15869407,
44+
"avg_latency": "3.35ms",
45+
"p99_latency": "3.35ms",
46+
"cpu": "2363.1%",
47+
"memory": "110MiB",
48+
"connections": 1024,
49+
"threads": 64,
50+
"duration": "5s",
51+
"pipeline": 1,
52+
"bandwidth": "398.22MB/s",
53+
"reconnects": 0,
54+
"status_2xx": 80299200,
55+
"status_3xx": 0,
56+
"status_4xx": 0,
57+
"status_5xx": 0
58+
},
59+
{
60+
"framework": "quarkus-jvm",
61+
"language": "Java",
62+
"rps": 6180019,
63+
"avg_latency": "15.99ms",
64+
"p99_latency": "15.99ms",
65+
"cpu": "6016.8%",
66+
"memory": "10.1GiB",
1067
"connections": 1024,
1168
"threads": 64,
1269
"duration": "5s",
1370
"pipeline": 1,
14-
"bandwidth": "71.97MB/s",
71+
"bandwidth": "167.35MB/s",
1572
"reconnects": 0,
16-
"status_2xx": 16393851,
73+
"status_2xx": 31332700,
1774
"status_3xx": 0,
1875
"status_4xx": 0,
1976
"status_5xx": 0
2077
},
2178
{
2279
"framework": "wtx",
2380
"language": "Rust",
24-
"rps": 680794,
25-
"avg_latency": "120.77ms",
26-
"p99_latency": "120.77ms",
27-
"cpu": "5587.1%",
28-
"memory": "1.6GiB",
81+
"rps": 663592,
82+
"avg_latency": "127.66ms",
83+
"p99_latency": "127.66ms",
84+
"cpu": "5459.2%",
85+
"memory": "1.3GiB",
2986
"connections": 1024,
3087
"threads": 64,
3188
"duration": "5s",
3289
"pipeline": 1,
33-
"bandwidth": "23.57MB/s",
90+
"bandwidth": "23.07MB/s",
3491
"reconnects": 0,
35-
"status_2xx": 3431206,
92+
"status_2xx": 3357780,
3693
"status_3xx": 0,
3794
"status_4xx": 0,
3895
"status_5xx": 0

0 commit comments

Comments
 (0)