Skip to content

Commit b675210

Browse files
authored
Merge pull request #100 from MDA2AV/reso007
update results for nginx - fix website filters
2 parents 7417d7a + 0022a6c commit b675210

31 files changed

Lines changed: 265 additions & 200 deletions

site/content/leaderboard/_index.md

Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -71,6 +71,37 @@ html.dark .http-ver[data-ver="ws"].active { color: #22d3ee; background: rgba(8,1
7171
document.getElementById('lb-composite-wrapper').style.display = ver === 'composite' ? '' : 'none';
7272
document.getElementById('lb-grpc-wrapper').style.display = ver === 'grpc' ? '' : 'none';
7373
document.getElementById('lb-ws-wrapper').style.display = ver === 'ws' ? '' : 'none';
74+
/* Reset all type filters to Framework */
75+
document.querySelectorAll('.lb-type-filter').forEach(function(f) {
76+
f.classList.toggle('active', f.dataset.type === 'framework');
77+
});
78+
/* Reset composite type filter too */
79+
document.querySelectorAll('.composite-type-filter').forEach(function(f) {
80+
f.classList.toggle('active', f.dataset.type === 'framework');
81+
});
82+
/* Sync language filters — capture active langs, apply to all, then trigger re-filter */
83+
var activeLangs = new Set();
84+
var allActive = false;
85+
document.querySelectorAll('.lb-lang-filter').forEach(function(f) {
86+
if (f.classList.contains('active')) {
87+
if (f.dataset.lang === 'all') allActive = true;
88+
else activeLangs.add(f.dataset.lang);
89+
}
90+
});
91+
document.querySelectorAll('.lb-lang-filter').forEach(function(f) {
92+
if (f.dataset.lang === 'all') f.classList.toggle('active', allActive);
93+
else f.classList.toggle('active', allActive || activeLangs.has(f.dataset.lang));
94+
});
95+
/* Trigger re-filter on the newly visible wrapper by clicking its type filter */
96+
var wrapperIds = { h1: 'lb-wrapper', h2: 'lb-h2-wrapper', h3: 'lb-h3-wrapper', grpc: 'lb-grpc-wrapper', ws: 'lb-ws-wrapper' };
97+
var wrapperId = wrapperIds[ver];
98+
if (wrapperId) {
99+
var w = document.getElementById(wrapperId);
100+
if (w) {
101+
var typeBtn = w.querySelector('.lb-type-filter[data-type="framework"]');
102+
if (typeBtn) typeBtn.click();
103+
}
104+
}
74105
});
75106
});
76107
})();

site/data/baseline-16384.json

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -602,19 +602,19 @@
602602
{
603603
"framework": "nginx",
604604
"language": "C",
605-
"rps": 2612019,
606-
"avg_latency": "6.12ms",
607-
"p99_latency": "28.30ms",
608-
"cpu": "6127.7%",
605+
"rps": 2648676,
606+
"avg_latency": "5.97ms",
607+
"p99_latency": "31.30ms",
608+
"cpu": "6051.4%",
609609
"memory": "3.6GiB",
610610
"connections": 16384,
611611
"threads": 64,
612612
"duration": "5s",
613613
"pipeline": 1,
614-
"bandwidth": "353.53MB/s",
615-
"input_bw": "201.77MB/s",
614+
"bandwidth": "358.36MB/s",
615+
"input_bw": "204.60MB/s",
616616
"reconnects": 0,
617-
"status_2xx": 13060097,
617+
"status_2xx": 13243383,
618618
"status_3xx": 0,
619619
"status_4xx": 0,
620620
"status_5xx": 0

site/data/baseline-4096.json

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -602,19 +602,19 @@
602602
{
603603
"framework": "nginx",
604604
"language": "C",
605-
"rps": 2864881,
606-
"avg_latency": "1.43ms",
607-
"p99_latency": "9.57ms",
608-
"cpu": "6256.3%",
605+
"rps": 2897562,
606+
"avg_latency": "1.41ms",
607+
"p99_latency": "9.05ms",
608+
"cpu": "6285.0%",
609609
"memory": "3.5GiB",
610610
"connections": 4096,
611611
"threads": 64,
612612
"duration": "5s",
613613
"pipeline": 1,
614-
"bandwidth": "387.77MB/s",
615-
"input_bw": "221.31MB/s",
614+
"bandwidth": "392.11MB/s",
615+
"input_bw": "223.83MB/s",
616616
"reconnects": 0,
617-
"status_2xx": 14324408,
617+
"status_2xx": 14487814,
618618
"status_3xx": 0,
619619
"status_4xx": 0,
620620
"status_5xx": 0

site/data/baseline-512.json

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -602,19 +602,19 @@
602602
{
603603
"framework": "nginx",
604604
"language": "C",
605-
"rps": 2485804,
606-
"avg_latency": "205us",
607-
"p99_latency": "1.59ms",
608-
"cpu": "6523.9%",
605+
"rps": 2518385,
606+
"avg_latency": "202us",
607+
"p99_latency": "1.57ms",
608+
"cpu": "6326.5%",
609609
"memory": "3.5GiB",
610610
"connections": 512,
611611
"threads": 64,
612612
"duration": "5s",
613613
"pipeline": 1,
614-
"bandwidth": "336.42MB/s",
615-
"input_bw": "192.02MB/s",
614+
"bandwidth": "340.86MB/s",
615+
"input_bw": "194.54MB/s",
616616
"reconnects": 0,
617-
"status_2xx": 12429020,
617+
"status_2xx": 12591926,
618618
"status_3xx": 0,
619619
"status_4xx": 0,
620620
"status_5xx": 0

site/data/baseline-h2-1024.json

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -253,18 +253,19 @@
253253
{
254254
"framework": "nginx",
255255
"language": "C",
256-
"rps": 3336622,
257-
"avg_latency": "22.24ms",
258-
"p99_latency": "22.24ms",
259-
"cpu": "6876.1%",
256+
"rps": 3391354,
257+
"avg_latency": "22.35ms",
258+
"p99_latency": "22.35ms",
259+
"cpu": "6922.0%",
260260
"memory": "3.6GiB",
261261
"connections": 1024,
262262
"threads": 64,
263263
"duration": "5s",
264264
"pipeline": 1,
265-
"bandwidth": "273.67MB/s",
265+
"bandwidth": "278.15MB/s",
266+
"input_bw": "",
266267
"reconnects": 0,
267-
"status_2xx": 16683113,
268+
"status_2xx": 16956772,
268269
"status_3xx": 0,
269270
"status_4xx": 0,
270271
"status_5xx": 0

site/data/baseline-h2-256.json

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -253,18 +253,19 @@
253253
{
254254
"framework": "nginx",
255255
"language": "C",
256-
"rps": 3273185,
257-
"avg_latency": "6.87ms",
258-
"p99_latency": "6.87ms",
259-
"cpu": "6877.3%",
256+
"rps": 3259534,
257+
"avg_latency": "6.88ms",
258+
"p99_latency": "6.88ms",
259+
"cpu": "6892.2%",
260260
"memory": "3.5GiB",
261261
"connections": 256,
262262
"threads": 64,
263263
"duration": "5s",
264264
"pipeline": 1,
265-
"bandwidth": "268.46MB/s",
265+
"bandwidth": "267.34MB/s",
266+
"input_bw": "",
266267
"reconnects": 0,
267-
"status_2xx": 16365925,
268+
"status_2xx": 16297672,
268269
"status_3xx": 0,
269270
"status_4xx": 0,
270271
"status_5xx": 0

site/data/baseline-h3-256.json

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -59,18 +59,19 @@
5959
{
6060
"framework": "nginx",
6161
"language": "C",
62-
"rps": 543491,
63-
"avg_latency": "9.85ms",
64-
"p99_latency": "31.37ms",
65-
"cpu": "1473.3%",
62+
"rps": 538781,
63+
"avg_latency": "10.08ms",
64+
"p99_latency": "31.73ms",
65+
"cpu": "1405.9%",
6666
"memory": "3.8GiB",
6767
"connections": 256,
6868
"threads": 64,
6969
"duration": "5s",
7070
"pipeline": 32,
71-
"bandwidth": "0.52MB/s",
71+
"bandwidth": "0.51MB/s",
72+
"input_bw": "",
7273
"reconnects": 0,
73-
"status_2xx": 2719077,
74+
"status_2xx": 2693548,
7475
"status_3xx": 0,
7576
"status_4xx": 0,
7677
"status_5xx": 0

site/data/baseline-h3-512.json

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -78,18 +78,19 @@
7878
{
7979
"framework": "nginx",
8080
"language": "C",
81-
"rps": 493454,
82-
"avg_latency": "17.41ms",
83-
"p99_latency": "54.93ms",
84-
"cpu": "1485.3%",
81+
"rps": 498559,
82+
"avg_latency": "18.02ms",
83+
"p99_latency": "56.61ms",
84+
"cpu": "1535.6%",
8585
"memory": "3.9GiB",
8686
"connections": 512,
8787
"threads": 64,
8888
"duration": "5s",
8989
"pipeline": 32,
9090
"bandwidth": "0.47MB/s",
91+
"input_bw": "",
9192
"reconnects": 0,
92-
"status_2xx": 2470589,
93+
"status_2xx": 2492571,
9394
"status_3xx": 0,
9495
"status_4xx": 0,
9596
"status_5xx": 0

site/data/compression-16384.json

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -571,18 +571,19 @@
571571
{
572572
"framework": "nginx",
573573
"language": "C",
574-
"rps": 10913,
574+
"rps": 10966,
575575
"avg_latency": "1.22s",
576-
"p99_latency": "2.08s",
577-
"cpu": "11577.8%",
576+
"p99_latency": "1.96s",
577+
"cpu": "11560.0%",
578578
"memory": "3.7GiB",
579579
"connections": 16384,
580580
"threads": 64,
581581
"duration": "5s",
582582
"pipeline": 1,
583-
"bandwidth": "2.39GB/s",
583+
"bandwidth": "2.40GB/s",
584+
"input_bw": "792.46KB/s",
584585
"reconnects": 0,
585-
"status_2xx": 54566,
586+
"status_2xx": 54830,
586587
"status_3xx": 0,
587588
"status_4xx": 0,
588589
"status_5xx": 0

site/data/compression-4096.json

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -571,18 +571,19 @@
571571
{
572572
"framework": "nginx",
573573
"language": "C",
574-
"rps": 11075,
575-
"avg_latency": "349.51ms",
576-
"p99_latency": "554.20ms",
577-
"cpu": "12447.2%",
574+
"rps": 11072,
575+
"avg_latency": "347.99ms",
576+
"p99_latency": "537.10ms",
577+
"cpu": "11952.3%",
578578
"memory": "3.6GiB",
579579
"connections": 4096,
580580
"threads": 64,
581581
"duration": "5s",
582582
"pipeline": 1,
583583
"bandwidth": "2.42GB/s",
584+
"input_bw": "800.12KB/s",
584585
"reconnects": 0,
585-
"status_2xx": 55379,
586+
"status_2xx": 55361,
586587
"status_3xx": 0,
587588
"status_4xx": 0,
588589
"status_5xx": 0

0 commit comments

Comments
 (0)