Skip to content

Commit 7e68b64

Browse files
Benchmark results: libreactorng
1 parent 94a3aad commit 7e68b64

26 files changed

Lines changed: 375 additions & 1 deletion

site/data/api-16-1024.json

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -718,6 +718,32 @@
718718
"tpl_static": 0,
719719
"tpl_async_db": 163326
720720
},
721+
{
722+
"framework": "SlimeWeb",
723+
"language": "Python",
724+
"rps": 12236,
725+
"avg_latency": "72.57ms",
726+
"p99_latency": "1.38s",
727+
"cpu": "403.8%",
728+
"memory": "154MiB",
729+
"connections": 1024,
730+
"threads": 64,
731+
"duration": "5s",
732+
"pipeline": 1,
733+
"bandwidth": "62.97MB/s",
734+
"input_bw": "705.00KB/s",
735+
"reconnects": 36510,
736+
"status_2xx": 183546,
737+
"status_3xx": 0,
738+
"status_4xx": 0,
739+
"status_5xx": 0,
740+
"tpl_baseline": 66774,
741+
"tpl_json": 72402,
742+
"tpl_db": 0,
743+
"tpl_upload": 0,
744+
"tpl_static": 0,
745+
"tpl_async_db": 44369
746+
},
721747
{
722748
"framework": "spring-boot",
723749
"language": "Java",

site/data/api-4-256.json

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -718,6 +718,32 @@
718718
"tpl_static": 0,
719719
"tpl_async_db": 65218
720720
},
721+
{
722+
"framework": "SlimeWeb",
723+
"language": "Python",
724+
"rps": 12908,
725+
"avg_latency": "19.37ms",
726+
"p99_latency": "91.00ms",
727+
"cpu": "262.0%",
728+
"memory": "105MiB",
729+
"connections": 256,
730+
"threads": 64,
731+
"duration": "5s",
732+
"pipeline": 1,
733+
"bandwidth": "65.54MB/s",
734+
"input_bw": "743.72KB/s",
735+
"reconnects": 38682,
736+
"status_2xx": 193632,
737+
"status_3xx": 0,
738+
"status_4xx": 0,
739+
"status_5xx": 0,
740+
"tpl_baseline": 72050,
741+
"tpl_json": 73130,
742+
"tpl_db": 0,
743+
"tpl_upload": 0,
744+
"tpl_static": 0,
745+
"tpl_async_db": 48452
746+
},
721747
{
722748
"framework": "spring-boot",
723749
"language": "Java",

site/data/async-db-1024.json

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -570,6 +570,26 @@
570570
"status_4xx": 0,
571571
"status_5xx": 0
572572
},
573+
{
574+
"framework": "SlimeWeb",
575+
"language": "Python",
576+
"rps": 4147,
577+
"avg_latency": "170.83ms",
578+
"p99_latency": "1.98s",
579+
"cpu": "192.4%",
580+
"memory": "307MiB",
581+
"connections": 1024,
582+
"threads": 64,
583+
"duration": "5s",
584+
"pipeline": 1,
585+
"bandwidth": "15.86MB/s",
586+
"input_bw": "283.49KB/s",
587+
"reconnects": 1233,
588+
"status_2xx": 41477,
589+
"status_3xx": 0,
590+
"status_4xx": 0,
591+
"status_5xx": 0
592+
},
573593
{
574594
"framework": "spring-boot",
575595
"language": "Java",

site/data/baseline-4096.json

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -508,6 +508,26 @@
508508
"status_4xx": 0,
509509
"status_5xx": 0
510510
},
511+
{
512+
"framework": "libreactorng",
513+
"language": "C",
514+
"rps": 4086741,
515+
"avg_latency": "1.00ms",
516+
"p99_latency": "2.91ms",
517+
"cpu": "6398.5%",
518+
"memory": "113MiB",
519+
"connections": 4096,
520+
"threads": 64,
521+
"duration": "5s",
522+
"pipeline": 1,
523+
"bandwidth": "444.12MB/s",
524+
"input_bw": "315.69MB/s",
525+
"reconnects": 0,
526+
"status_2xx": 20433705,
527+
"status_3xx": 0,
528+
"status_4xx": 0,
529+
"status_5xx": 0
530+
},
511531
{
512532
"framework": "mark",
513533
"language": "PHP",

site/data/baseline-512.json

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -508,6 +508,26 @@
508508
"status_4xx": 0,
509509
"status_5xx": 0
510510
},
511+
{
512+
"framework": "libreactorng",
513+
"language": "C",
514+
"rps": 3749681,
515+
"avg_latency": "136us",
516+
"p99_latency": "375us",
517+
"cpu": "6372.7%",
518+
"memory": "71MiB",
519+
"connections": 512,
520+
"threads": 64,
521+
"duration": "5s",
522+
"pipeline": 1,
523+
"bandwidth": "407.50MB/s",
524+
"input_bw": "289.65MB/s",
525+
"reconnects": 0,
526+
"status_2xx": 18748406,
527+
"status_3xx": 0,
528+
"status_4xx": 0,
529+
"status_5xx": 0
530+
},
511531
{
512532
"framework": "mark",
513533
"language": "PHP",

site/data/current.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
"docker": "29.3.0",
1111
"docker_runtime": "runc",
1212
"governor": "performance",
13-
"commit": "e9453b3f",
13+
"commit": "94a3aad8",
1414
"tcp": {
1515
"lo_mtu": "1500",
1616
"congestion": "cubic",

site/data/frameworks.json

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -255,6 +255,13 @@
255255
"type": "tuned",
256256
"engine": "netty"
257257
},
258+
"libreactorng": {
259+
"dir": "libreactorng",
260+
"description": "libreactorng \u2014 Fredrik Widlund's io_uring-native event framework, the successor to the long-running epoll-based libreactor. Built directly on Linux io_uring syscalls with zero third-party runtime deps. Minimal server dispatches /pipeline, /baseline11, /baseline2 via the built-in HTTP parser; one reactor process per logical CPU via SO_REUSEPORT.",
261+
"repo": "https://github.com/fredrikwidlund/libreactorng",
262+
"type": "engine",
263+
"engine": "io_uring"
264+
},
258265
"mark": {
259266
"dir": "mark",
260267
"description": "Mark is a high performance API micro framework based on workerman, helps you quickly write APIs with PHP.",

site/data/json-4096.json

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -610,6 +610,26 @@
610610
"status_4xx": 0,
611611
"status_5xx": 0
612612
},
613+
{
614+
"framework": "SlimeWeb",
615+
"language": "Python",
616+
"rps": 50429,
617+
"avg_latency": "41.15ms",
618+
"p99_latency": "197.80ms",
619+
"cpu": "1985.7%",
620+
"memory": "215MiB",
621+
"connections": 4096,
622+
"threads": 64,
623+
"duration": "5s",
624+
"pipeline": 1,
625+
"bandwidth": "176.21MB/s",
626+
"input_bw": "2.40MB/s",
627+
"reconnects": 8622,
628+
"status_2xx": 252148,
629+
"status_3xx": 0,
630+
"status_4xx": 0,
631+
"status_5xx": 0
632+
},
613633
{
614634
"framework": "spring-boot",
615635
"language": "Java",

site/data/json-comp-16384.json

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -571,6 +571,26 @@
571571
"status_4xx": 0,
572572
"status_5xx": 0
573573
},
574+
{
575+
"framework": "SlimeWeb",
576+
"language": "Python",
577+
"rps": 47876,
578+
"avg_latency": "136.15ms",
579+
"p99_latency": "611.70ms",
580+
"cpu": "2144.0%",
581+
"memory": "313MiB",
582+
"connections": 16384,
583+
"threads": 64,
584+
"duration": "5s",
585+
"pipeline": 1,
586+
"bandwidth": "53.27MB/s",
587+
"input_bw": "3.52MB/s",
588+
"reconnects": 5751,
589+
"status_2xx": 239380,
590+
"status_3xx": 0,
591+
"status_4xx": 0,
592+
"status_5xx": 0
593+
},
574594
{
575595
"framework": "spring-boot",
576596
"language": "Java",

site/data/json-comp-4096.json

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -571,6 +571,26 @@
571571
"status_4xx": 0,
572572
"status_5xx": 0
573573
},
574+
{
575+
"framework": "SlimeWeb",
576+
"language": "Python",
577+
"rps": 46406,
578+
"avg_latency": "46.56ms",
579+
"p99_latency": "5.00s",
580+
"cpu": "2067.8%",
581+
"memory": "226MiB",
582+
"connections": 4096,
583+
"threads": 64,
584+
"duration": "5s",
585+
"pipeline": 1,
586+
"bandwidth": "51.34MB/s",
587+
"input_bw": "3.41MB/s",
588+
"reconnects": 7883,
589+
"status_2xx": 232031,
590+
"status_3xx": 0,
591+
"status_4xx": 0,
592+
"status_5xx": 0
593+
},
574594
{
575595
"framework": "spring-boot",
576596
"language": "Java",

0 commit comments

Comments
 (0)