Internals: benchmark reports
ScalWS 1.1.1 on bare metal: the installed package against 1.1.0 and nginx (2026-11-23)
The release measurement of 1.1.1: the 1.1.1 .deb installed on the Xeon host, against the
published 1.1.0 package and nginx 1.31.6, at 1 CPU and at 6 CPUs, plus the compression rows
and the edge rows, with the method of 2026-11-19-xeon-1.1.0.md.
Result.
- Against 1.1.0: no regression. No scenario is more than 3 % below 1.1.0 beyond the measured spread, at 1 or 6 CPUs. The largest drops are inside the spread: cache hits at 6 CPUs 0.978x, TLS + HTTP/2 at 6 CPUs 0.938x with a 14 % spread (rounds 0.917x to 1.063x).
- Against nginx, 1 CPU: ahead on cache hits (1.69x), TLS + HTTP/2 (1.24x), small static files (1.04x), Python (1.04x) and every compression row (1.69x to 37.8x); level on proxy (1.01x) and Node.js (0.99x); below on fixed responses (0.97x), 1 MiB files (0.96x) and PHP (0.94x). The 1.05x goal in every scenario is still not met; this is the 1.2 performance work.
- Against nginx, 6 CPUs: ahead on cache hits (1.68x), TLS + HTTP/2 (1.19x), PHP (1.06x) and small static files (1.01x); below on proxy (0.99x), Node.js (0.99x), 1 MiB files (0.98x), fixed responses (0.97x) and Python (0.89x, spread 17 %).
- Edge keys: part (b) of
bench/edge.sh(edge keys against none) is below its own 0.97 gate on three rows, as it was for 1.1.0 measured in the same run (0.887x to 0.945x for 1.1.0, 0.904x to 0.950x for 1.1.1). 1.1.1 is level with or ahead of 1.1.0 on every edge row (1.003x to 1.010x). The cost of the edge keys is part of the 1.2 performance work. - Every run answered 2xx only (zero non-2xx in all rows).
Method
Host: xeon, 2x Xeon E5-2650 v2 (Ivy Bridge, no AVX2), Ubuntu 26.04, kernel
7.0.0-43-generic, performance governor, turbo off, no VM or container running. Server on
socket 0, the bench upstream and the application servers on CPUs 6, 7, 22, 23, oha on
socket 1, 64 connections. Same layouts as the 1.1.0 report: 1 CPU = one instance of 1 CPU,
6 CPUs = 3 instances x 2 CPUs, nginx worker_processes 1 and 6 on the same CPUs.
- Scenarios:
bench/run.shof commit 95b5992a, 10 s warm-up, 30 s measured, 3 rounds with the order of the three servers rotated; medians; ratios are the median of the per-round ratios with the lowest and highest round in brackets. - 1.1.1:
scalws_1.1.1-1_amd64.deb(sha256db16b24f5cfa2ba79b7a322c6f1403d71295ec4a2bb2dc606c3dbe9a5c2b84ad, built at 95b5992a withSCALWS_RELEASE=1 scripts/release-build.sh: profile-guided, http3, EL8 glibc), installed withdpkg -i./usr/bin/scalwsdsha256af995e31...ca4c,scalws-controller2fd5188f...c747. - 1.1.0: the published
scalws_1.1.0-1_amd64.deb(sha2568f2033c8db0eadd8bcb4442f341efb3fafe4de29a52e533832d1a28a6dbdcaaa); itsscalwsdandscalws-controllerbind-mounted over the installed 1.1.1 files, so unit, user and sandbox are the installed ones. - nginx 1.31.6 with
bench/configs/nginx.confof the same commit. - Compression:
bench/compression.shwith the 1.1.1scalwsd, base the 1.1.0scalwsd. Edge:bench/edge.shonce with the 1.1.1scalwsdand once with the 1.1.0scalwsd. - Quiet machine: each stage started after 60 s without
cargoorrustc; a sampler logged load and builds every 10 s and saw no build during the runs.
Scenarios (bench/run.sh)
1 CPU
| scenario | 1.1.1 | 1.1.0 | nginx 1.31.6 | 1.1.1 / 1.1.0 | spread 1.1.1 | spread 1.1.0 | vs 1.1.0 | 1.1.1 / nginx | 1.1.0 / nginx |
|---|---|---|---|---|---|---|---|---|---|
| static-small | 21 281 | 21 304 | 20 352 | 0.999 (0.982-1.016) | 1.9 % | 1.5 % | no regression | 1.036 (1.030-1.046) | 1.047 |
| static-1m | 3 675 | 3 623 | 3 822 | 1.015 (1.002-1.015) | 0.3 % | 1.1 % | no regression | 0.960 (0.956-0.962) | 0.948 |
| respond | 38 056 | 37 922 | 39 059 | 1.002 (0.993-1.018) | 1.2 % | 1.7 % | no regression | 0.970 (0.964-0.983) | 0.971 |
| proxy | 17 891 | 17 974 | 17 883 | 0.990 (0.989-1.016) | 2.5 % | 0.8 % | no regression | 1.005 (0.995-1.008) | 1.005 |
| cache-hit | 31 177 | 31 736 | 18 455 | 0.982 (0.971-1.011) | 2.4 % | 1.6 % | no regression | 1.690 (1.670-1.695) | 1.720 |
| tls-h2-static-small | 19 180 | 18 491 | 15 070 | 1.029 (1.015-1.038) | 2.8 % | 1.5 % | no regression | 1.237 (1.225-1.275) | 1.219 |
| php | 11 854 | 11 800 | 12 567 | 0.997 (0.996-1.015) | 0.9 % | 1.9 % | no regression | 0.940 (0.935-0.959) | 0.939 |
| node | 10 263 | 10 259 | 10 298 | 0.999 (0.997-1.003) | 0.8 % | 0.3 % | no regression | 0.992 (0.979-1.001) | 0.995 |
| python | 6 500 | 6 146 | 6 298 | 1.010 (0.997-1.058) | 7.2 % | 6.2 % | no regression | 1.036 (0.935-1.045) | 0.988 |
| scenario | p99 ms 1.1.1 | 1.1.0 | nginx | CPU us/req 1.1.1 | 1.1.0 | nginx | RSS MiB 1.1.1 | 1.1.0 | nginx | non-2xx (all) |
|---|---|---|---|---|---|---|---|---|---|---|
| static-small | 3.31 | 3.31 | 3.45 | 47.4 | 47.3 | 49.1 | 44 | 43 | 37 | 0 |
| static-1m | 18.11 | 18.30 | 17.20 | 274.5 | 278.6 | 261.8 | 44 | 43 | 32 | 0 |
| respond | 1.98 | 1.98 | 1.93 | 26.5 | 26.6 | 25.6 | 44 | 43 | 32 | 0 |
| proxy | 3.91 | 3.90 | 3.91 | 56.5 | 56.2 | 55.9 | 46 | 45 | 32 | 0 |
| cache-hit | 2.35 | 2.32 | 3.77 | 32.4 | 31.8 | 54.2 | 46 | 45 | 32 | 0 |
| tls-h2-static-small | 4.08 | 4.24 | 4.53 | 52.5 | 54.5 | 66.2 | 49 | 48 | 38 | 0 |
| php | 5.77 | 5.78 | 5.43 | 86.7 | 87.2 | 79.4 | 47 | 46 | 32 | 0 |
| node | 12.01 | 12.04 | 11.96 | 71.8 | 70.9 | 67.3 | 47 | 46 | 32 | 0 |
| python | 11.74 | 11.58 | 17.10 | 89.8 | 90.3 | 83.9 | 47 | 45 | 32 | 0 |
6 CPUs
| scenario | 1.1.1 | 1.1.0 | nginx 1.31.6 | 1.1.1 / 1.1.0 | spread 1.1.1 | spread 1.1.0 | vs 1.1.0 | 1.1.1 / nginx | 1.1.0 / nginx |
|---|---|---|---|---|---|---|---|---|---|
| static-small | 123 308 | 124 930 | 121 807 | 0.987 (0.983-0.996) | 2.1 % | 0.8 % | no regression | 1.012 (0.999-1.034) | 1.026 |
| static-1m | 11 099 | 11 108 | 11 284 | 1.000 (0.999-1.096) | 9.9 % | 0.2 % | no regression | 0.983 (0.943-1.081) | 0.983 |
| respond | 225 102 | 226 418 | 229 435 | 0.984 (0.972-0.994) | 3.1 % | 1.9 % | no regression | 0.971 (0.956-0.995) | 0.984 |
| proxy | 102 756 | 103 671 | 103 785 | 0.981 (0.980-0.992) | 1.8 % | 1.9 % | no regression | 0.985 (0.981-0.990) | 1.000 |
| cache-hit | 184 436 | 187 772 | 109 427 | 0.978 (0.966-0.982) | 2.8 % | 1.7 % | no regression | 1.684 (1.643-1.723) | 1.714 |
| tls-h2-static-small | 88 829 | 88 833 | 75 791 | 0.938 (0.917-1.063) | 14.2 % | 10.9 % | no regression | 1.194 (1.007-1.245) | 1.172 |
| php | 28 302 | 28 331 | 26 752 | 0.997 (0.994-1.008) | 0.7 % | 0.9 % | no regression | 1.059 (1.053-1.061) | 1.059 |
| node | 10 104 | 10 019 | 10 314 | 1.008 (0.994-1.015) | 2.4 % | 0.3 % | no regression | 0.987 (0.954-0.991) | 0.973 |
| python | 5 595 | 5 607 | 6 267 | 0.993 (0.854-1.156) | 16.9 % | 17.5 % | no regression | 0.893 (0.857-1.046) | 0.905 |
| scenario | p99 ms 1.1.1 | 1.1.0 | nginx | CPU us/req 1.1.1 | 1.1.0 | nginx | RSS MiB 1.1.1 | 1.1.0 | nginx | non-2xx (all) |
|---|---|---|---|---|---|---|---|---|---|---|
| static-small | 0.70 | 0.67 | 0.70 | 49.0 | 48.4 | 49.2 | 122 | 122 | 107 | 0 |
| static-1m | 8.11 | 8.64 | 9.50 | 543.7 | 543.4 | 531.6 | 124 | 122 | 102 | 0 |
| respond | 0.43 | 0.40 | 0.41 | 26.9 | 26.7 | 25.9 | 123 | 122 | 102 | 0 |
| proxy | 0.90 | 0.93 | 0.98 | 58.8 | 58.3 | 57.7 | 124 | 123 | 108 | 0 |
| cache-hit | 0.51 | 0.47 | 0.74 | 32.8 | 32.2 | 54.8 | 124 | 123 | 109 | 0 |
| tls-h2-static-small | 1.67 | 1.88 | 1.22 | 59.5 | 60.6 | 67.0 | 131 | 131 | 129 | 0 |
| php | 2.56 | 2.57 | 2.69 | 119.6 | 119.3 | 94.0 | 129 | 127 | 103 | 0 |
| node | 12.25 | 12.23 | 11.97 | 85.1 | 86.0 | 74.2 | 124 | 121 | 108 | 0 |
| python | 14.02 | 12.48 | 15.57 | 120.1 | 119.9 | 104.0 | 125 | 123 | 109 | 0 |
Compression (bench/compression.sh, 1.1.1)
(a) mode off against the build before compression (gate: >= 0.98)
| CPUs | scenario | scalws-off rps | base-off rps | ratio (median, min-max) | scalws-off p99 ms | base-off p99 ms | scalws-off bytes/resp | base-off bytes/resp | encoding | gate |
|---|---|---|---|---|---|---|---|---|---|---|
| 1 | php-hello | 13237 | 13233 | 0.998 (0.998-1.005) | 5.19 | 5.18 | 13 | 13 | identity | PASS |
| 1 | static-100k | 5572 | 5614 | 0.991 (0.990-0.997) | 28.38 | 28.29 | 102400 | 102400 | identity | PASS |
| 1 | static-1k | 13262 | 13388 | 0.988 (0.988-1.010) | 11.62 | 11.44 | 1024 | 1024 | identity | PASS |
| 6 | php-hello | 29536 | 29551 | 1.000 (0.999-1.000) | 3.16 | 3.15 | 13 | 13 | identity | PASS |
| 6 | static-100k | 35289 | 35274 | 1.004 (0.994-1.004) | 3.73 | 3.31 | 102400 | 102400 | identity | PASS |
| 6 | static-1k | 80532 | 79641 | 1.016 (0.994-1.020) | 1.51 | 1.60 | 1024 | 1024 | identity | PASS |
(b) mode static against nginx gzip_comp_level 1 + gzip_static (gate at 1 CPU: >= 1.05)
| CPUs | scenario | scalws-static rps | nginx rps | ratio (median, min-max) | scalws-static p99 ms | nginx p99 ms | scalws-static bytes/resp | nginx bytes/resp | encoding | gate |
|---|---|---|---|---|---|---|---|---|---|---|
| 1 | css-100k-br | 9772 | 982 | 9.950 (9.775-10.047) | 15.70 | 65.94 | 17031 | 21744 | br/gzip | PASS |
| 1 | css-100k-gzip | 10099 | 982 | 10.283 (10.104-10.357) | 15.29 | 65.88 | 16694 | 21744 | gzip | PASS |
| 1 | html-20k-br | 10297 | 2744 | 3.752 (3.660-3.811) | 15.01 | 23.69 | 6236 | 7193 | br/gzip | PASS |
| 1 | html-20k-gzip | 10646 | 2745 | 3.878 (3.801-3.932) | 14.41 | 23.70 | 6470 | 7193 | gzip | PASS |
| 1 | js-300k-br | 7114 | 188 | 37.782 (37.371-37.957) | 22.35 | 3579.55 | 79667 | 111126 | br/gzip | PASS |
| 1 | js-300k-gzip | 6988 | 188 | 37.094 (36.753-37.337) | 22.90 | 3576.01 | 91848 | 111126 | gzip | PASS |
| 6 | css-100k-br | 59169 | 5917 | 10.000 (9.869-10.003) | 2.06 | 12.45 | 17031 | 21744 | br/gzip | report (>= 1.0) |
| 6 | css-100k-gzip | 61711 | 5918 | 10.416 (10.254-10.437) | 1.89 | 17.51 | 16694 | 21744 | gzip | report (>= 1.0) |
| 6 | html-20k-br | 62050 | 16379 | 3.785 (3.732-3.795) | 1.90 | 4.44 | 6236 | 7193 | br/gzip | report (>= 1.0) |
| 6 | html-20k-gzip | 64471 | 16373 | 3.938 (3.892-3.949) | 1.93 | 5.06 | 6470 | 7193 | gzip | report (>= 1.0) |
| 6 | js-300k-br | 43311 | 1119 | 38.638 (38.377-38.691) | 3.13 | 59.81 | 79667 | 111126 | br/gzip | report (>= 1.0) |
| 6 | js-300k-gzip | 42840 | 1119 | 38.255 (37.937-38.287) | 2.66 | 59.54 | 91848 | 111126 | gzip | report (>= 1.0) |
(c) mode all, 50 KiB PHP page, against nginx gzip on over FastCGI (gate at 1 CPU: >= 1.05)
| CPUs | scenario | scalws-all rps | nginx rps | ratio (median, min-max) | scalws-all p99 ms | nginx p99 ms | scalws-all bytes/resp | nginx bytes/resp | encoding | gate |
|---|---|---|---|---|---|---|---|---|---|---|
| 1 | php-50k-gzip | 1968 | 1162 | 1.690 (1.686-1.694) | 33.40 | 55.84 | 23105 | 17259 | gzip | PASS |
| 6 | php-50k-gzip | 8363 | 4715 | 1.745 (1.590-1.832) | 9.68 | 15.87 | 23105 | 17259 | gzip | report (>= 1.0) |
Non-2xx answers over all rows: 0.
Edge (bench/edge.sh, 1.1.1)
(b) edge keys against (a) without them (gate: >= 0.97)
| CPUs | scenario | scalws-b rps | scalws-a rps | ratio (median, min-max) | scalws-b p99 ms | scalws-a p99 ms | scalws-b CPU us/req | scalws-a CPU us/req | scalws-b bytes/resp | encoding | gate |
|---|---|---|---|---|---|---|---|---|---|---|---|
| 1 | proxy-1k | 16392 | 18163 | 0.904 (0.892-0.910) | 4.24 | 3.85 | 61.0 | 55.1 | 1024 | identity | FAIL |
| 1 | proxy-20k-css | 13385 | 14486 | 0.923 (0.919-0.928) | 5.14 | 4.81 | 74.7 | 69.0 | 20480 | identity | FAIL |
| 6 | proxy-1k | 95513 | 100764 | 0.950 (0.943-0.951) | 0.99 | 0.97 | 62.8 | 58.8 | 1024 | identity | FAIL |
| 6 | proxy-20k-css | 74931 | 77070 | 0.971 (0.971-0.976) | 1.35 | 1.36 | 78.6 | 74.1 | 20480 | identity | PASS |
(c) edge keys and gzip against (a)
| CPUs | scenario | scalws-c rps | scalws-a rps | ratio (median, min-max) | scalws-c p99 ms | scalws-a p99 ms | scalws-c CPU us/req | scalws-a CPU us/req | scalws-c bytes/resp | encoding | gate |
|---|---|---|---|---|---|---|---|---|---|---|---|
| 1 | proxy-1k | 12247 | 18163 | 0.676 (0.666-0.688) | 5.64 | 3.85 | 81.7 | 55.1 | 499 | gzip | report |
| 1 | proxy-20k-css | 5822 | 14486 | 0.400 (0.400-0.411) | 11.40 | 4.81 | 171.9 | 69.0 | 5394 | gzip | report |
| 6 | proxy-1k | 71825 | 100764 | 0.715 (0.705-0.719) | 1.24 | 0.97 | 83.5 | 58.8 | 499 | gzip | report |
| 6 | proxy-20k-css | 35230 | 77070 | 0.457 (0.456-0.461) | 2.65 | 1.36 | 170.3 | 74.1 | 5394 | gzip | report |
(a) against nginx without the edge directives
| CPUs | scenario | scalws-a rps | nginx-a rps | ratio (median, min-max) | scalws-a p99 ms | nginx-a p99 ms | scalws-a CPU us/req | nginx-a CPU us/req | scalws-a bytes/resp | encoding | gate |
|---|---|---|---|---|---|---|---|---|---|---|---|
| 1 | proxy-1k | 18163 | 16232 | 1.130 (1.091-1.131) | 3.85 | 4.27 | 55.1 | 61.6 | 1024 | identity | report |
| 1 | proxy-20k-css | 14486 | 11786 | 1.229 (1.198-1.244) | 4.81 | 5.80 | 69.0 | 84.9 | 20480 | identity | report |
| 6 | proxy-1k | 100764 | 97407 | 1.035 (1.031-1.051) | 0.97 | 0.92 | 58.8 | 61.5 | 1024 | identity | report |
| 6 | proxy-20k-css | 77070 | 71925 | 1.073 (1.064-1.085) | 1.36 | 1.17 | 74.1 | 83.3 | 20480 | identity | report |
(b) against nginx with the equivalent edge directives
| CPUs | scenario | scalws-b rps | nginx-b rps | ratio (median, min-max) | scalws-b p99 ms | nginx-b p99 ms | scalws-b CPU us/req | nginx-b CPU us/req | scalws-b bytes/resp | encoding | gate |
|---|---|---|---|---|---|---|---|---|---|---|---|
| 1 | proxy-1k | 16392 | 14580 | 1.124 (1.122-1.133) | 4.24 | 4.73 | 61.0 | 68.6 | 1024 | identity | report |
| 1 | proxy-20k-css | 13385 | 11005 | 1.217 (1.213-1.221) | 5.14 | 6.19 | 74.7 | 90.9 | 20480 | identity | report |
| 6 | proxy-1k | 95513 | 87148 | 1.098 (1.090-1.138) | 0.99 | 0.98 | 62.8 | 68.8 | 1024 | identity | report |
| 6 | proxy-20k-css | 74931 | 66349 | 1.130 (1.119-1.163) | 1.35 | 1.26 | 78.6 | 90.4 | 20480 | identity | report |
(c) against nginx with the edge directives and gzip
| CPUs | scenario | scalws-c rps | nginx-c rps | ratio (median, min-max) | scalws-c p99 ms | nginx-c p99 ms | scalws-c CPU us/req | nginx-c CPU us/req | scalws-c bytes/resp | encoding | gate |
|---|---|---|---|---|---|---|---|---|---|---|---|
| 1 | proxy-1k | 12247 | 10975 | 1.118 (1.094-1.119) | 5.64 | 6.19 | 81.7 | 91.1 | 499 | gzip | report |
| 1 | proxy-20k-css | 5822 | 4077 | 1.429 (1.421-1.436) | 11.40 | 16.14 | 171.9 | 245.6 | 5394 | gzip | report |
| 6 | proxy-1k | 71825 | 65375 | 1.095 (1.087-1.111) | 1.24 | 1.20 | 83.5 | 91.7 | 499 | gzip | report |
| 6 | proxy-20k-css | 35230 | 24268 | 1.452 (1.448-1.465) | 2.65 | 3.56 | 170.3 | 247.2 | 5394 | gzip | report |
nginx’s own edge cost: nginx-b against nginx-a
| CPUs | scenario | nginx-b rps | nginx-a rps | ratio (median, min-max) | nginx-b p99 ms | nginx-a p99 ms | nginx-b CPU us/req | nginx-a CPU us/req | nginx-b bytes/resp | encoding | gate |
|---|---|---|---|---|---|---|---|---|---|---|---|
| 1 | proxy-1k | 14580 | 16232 | 0.897 (0.878-0.908) | 4.73 | 4.27 | 68.6 | 61.6 | 1024 | identity | report |
| 1 | proxy-20k-css | 11005 | 11786 | 0.934 (0.909-0.943) | 6.19 | 5.80 | 90.9 | 84.9 | 20480 | identity | report |
| 6 | proxy-1k | 87148 | 97407 | 0.895 (0.862-0.909) | 0.98 | 0.92 | 68.8 | 61.5 | 1024 | identity | report |
| 6 | proxy-20k-css | 66349 | 71925 | 0.919 (0.896-0.941) | 1.26 | 1.17 | 90.4 | 83.3 | 20480 | identity | report |
Non-2xx answers over all rows: 0.
Edge (bench/edge.sh, 1.1.0, same run)
(b) edge keys against (a) without them (gate: >= 0.97)
| CPUs | scenario | scalws-b rps | scalws-a rps | ratio (median, min-max) | scalws-b p99 ms | scalws-a p99 ms | scalws-b CPU us/req | scalws-a CPU us/req | scalws-b bytes/resp | encoding | gate |
|---|---|---|---|---|---|---|---|---|---|---|---|
| 1 | proxy-1k | 16339 | 18426 | 0.887 (0.842-0.910) | 4.25 | 3.80 | 61.2 | 54.3 | 1024 | identity | FAIL |
| 1 | proxy-20k-css | 13255 | 14544 | 0.912 (0.882-0.917) | 5.17 | 4.73 | 75.5 | 68.8 | 20480 | identity | FAIL |
| 6 | proxy-1k | 94620 | 99862 | 0.945 (0.942-0.953) | 0.97 | 1.01 | 63.4 | 58.2 | 1024 | identity | FAIL |
| 6 | proxy-20k-css | 74677 | 76210 | 0.980 (0.979-0.981) | 1.30 | 1.33 | 79.1 | 73.4 | 20480 | identity | PASS |
(c) edge keys and gzip against (a)
| CPUs | scenario | scalws-c rps | scalws-a rps | ratio (median, min-max) | scalws-c p99 ms | scalws-a p99 ms | scalws-c CPU us/req | scalws-a CPU us/req | scalws-c bytes/resp | encoding | gate |
|---|---|---|---|---|---|---|---|---|---|---|---|
| 1 | proxy-1k | 12011 | 18426 | 0.651 (0.645-0.668) | 5.76 | 3.80 | 83.3 | 54.3 | 499 | gzip | report |
| 1 | proxy-20k-css | 5804 | 14544 | 0.399 (0.396-0.402) | 11.44 | 4.73 | 172.5 | 68.8 | 5394 | gzip | report |
| 6 | proxy-1k | 71596 | 99862 | 0.715 (0.703-0.717) | 1.18 | 1.01 | 83.8 | 58.2 | 499 | gzip | report |
| 6 | proxy-20k-css | 35352 | 76210 | 0.464 (0.460-0.465) | 3.15 | 1.33 | 169.7 | 73.4 | 5394 | gzip | report |
Non-2xx answers over all rows: 0.