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.sh of 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 (sha256 db16b24f5cfa2ba79b7a322c6f1403d71295ec4a2bb2dc606c3dbe9a5c2b84ad, built at 95b5992a with SCALWS_RELEASE=1 scripts/release-build.sh: profile-guided, http3, EL8 glibc), installed with dpkg -i. /usr/bin/scalwsd sha256 af995e31...ca4c, scalws-controller 2fd5188f...c747.
  • 1.1.0: the published scalws_1.1.0-1_amd64.deb (sha256 8f2033c8db0eadd8bcb4442f341efb3fafe4de29a52e533832d1a28a6dbdcaaa); its scalwsd and scalws-controller bind-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.conf of the same commit.
  • Compression: bench/compression.sh with the 1.1.1 scalwsd, base the 1.1.0 scalwsd. Edge: bench/edge.sh once with the 1.1.1 scalwsd and once with the 1.1.0 scalwsd.
  • Quiet machine: each stage started after 60 s without cargo or rustc; a sampler logged load and builds every 10 s and saw no build during the runs.

Scenarios (bench/run.sh)

1 CPU

scenario1.1.11.1.0nginx 1.31.61.1.1 / 1.1.0spread 1.1.1spread 1.1.0vs 1.1.01.1.1 / nginx1.1.0 / nginx
static-small21 28121 30420 3520.999 (0.982-1.016)1.9 %1.5 %no regression1.036 (1.030-1.046)1.047
static-1m3 6753 6233 8221.015 (1.002-1.015)0.3 %1.1 %no regression0.960 (0.956-0.962)0.948
respond38 05637 92239 0591.002 (0.993-1.018)1.2 %1.7 %no regression0.970 (0.964-0.983)0.971
proxy17 89117 97417 8830.990 (0.989-1.016)2.5 %0.8 %no regression1.005 (0.995-1.008)1.005
cache-hit31 17731 73618 4550.982 (0.971-1.011)2.4 %1.6 %no regression1.690 (1.670-1.695)1.720
tls-h2-static-small19 18018 49115 0701.029 (1.015-1.038)2.8 %1.5 %no regression1.237 (1.225-1.275)1.219
php11 85411 80012 5670.997 (0.996-1.015)0.9 %1.9 %no regression0.940 (0.935-0.959)0.939
node10 26310 25910 2980.999 (0.997-1.003)0.8 %0.3 %no regression0.992 (0.979-1.001)0.995
python6 5006 1466 2981.010 (0.997-1.058)7.2 %6.2 %no regression1.036 (0.935-1.045)0.988
scenariop99 ms 1.1.11.1.0nginxCPU us/req 1.1.11.1.0nginxRSS MiB 1.1.11.1.0nginxnon-2xx (all)
static-small3.313.313.4547.447.349.14443370
static-1m18.1118.3017.20274.5278.6261.84443320
respond1.981.981.9326.526.625.64443320
proxy3.913.903.9156.556.255.94645320
cache-hit2.352.323.7732.431.854.24645320
tls-h2-static-small4.084.244.5352.554.566.24948380
php5.775.785.4386.787.279.44746320
node12.0112.0411.9671.870.967.34746320
python11.7411.5817.1089.890.383.94745320

6 CPUs

scenario1.1.11.1.0nginx 1.31.61.1.1 / 1.1.0spread 1.1.1spread 1.1.0vs 1.1.01.1.1 / nginx1.1.0 / nginx
static-small123 308124 930121 8070.987 (0.983-0.996)2.1 %0.8 %no regression1.012 (0.999-1.034)1.026
static-1m11 09911 10811 2841.000 (0.999-1.096)9.9 %0.2 %no regression0.983 (0.943-1.081)0.983
respond225 102226 418229 4350.984 (0.972-0.994)3.1 %1.9 %no regression0.971 (0.956-0.995)0.984
proxy102 756103 671103 7850.981 (0.980-0.992)1.8 %1.9 %no regression0.985 (0.981-0.990)1.000
cache-hit184 436187 772109 4270.978 (0.966-0.982)2.8 %1.7 %no regression1.684 (1.643-1.723)1.714
tls-h2-static-small88 82988 83375 7910.938 (0.917-1.063)14.2 %10.9 %no regression1.194 (1.007-1.245)1.172
php28 30228 33126 7520.997 (0.994-1.008)0.7 %0.9 %no regression1.059 (1.053-1.061)1.059
node10 10410 01910 3141.008 (0.994-1.015)2.4 %0.3 %no regression0.987 (0.954-0.991)0.973
python5 5955 6076 2670.993 (0.854-1.156)16.9 %17.5 %no regression0.893 (0.857-1.046)0.905
scenariop99 ms 1.1.11.1.0nginxCPU us/req 1.1.11.1.0nginxRSS MiB 1.1.11.1.0nginxnon-2xx (all)
static-small0.700.670.7049.048.449.21221221070
static-1m8.118.649.50543.7543.4531.61241221020
respond0.430.400.4126.926.725.91231221020
proxy0.900.930.9858.858.357.71241231080
cache-hit0.510.470.7432.832.254.81241231090
tls-h2-static-small1.671.881.2259.560.667.01311311290
php2.562.572.69119.6119.394.01291271030
node12.2512.2311.9785.186.074.21241211080
python14.0212.4815.57120.1119.9104.01251231090

Compression (bench/compression.sh, 1.1.1)

(a) mode off against the build before compression (gate: >= 0.98)

CPUsscenarioscalws-off rpsbase-off rpsratio (median, min-max)scalws-off p99 msbase-off p99 msscalws-off bytes/respbase-off bytes/respencodinggate
1php-hello13237132330.998 (0.998-1.005)5.195.181313identityPASS
1static-100k557256140.991 (0.990-0.997)28.3828.29102400102400identityPASS
1static-1k13262133880.988 (0.988-1.010)11.6211.4410241024identityPASS
6php-hello29536295511.000 (0.999-1.000)3.163.151313identityPASS
6static-100k35289352741.004 (0.994-1.004)3.733.31102400102400identityPASS
6static-1k80532796411.016 (0.994-1.020)1.511.6010241024identityPASS

(b) mode static against nginx gzip_comp_level 1 + gzip_static (gate at 1 CPU: >= 1.05)

CPUsscenarioscalws-static rpsnginx rpsratio (median, min-max)scalws-static p99 msnginx p99 msscalws-static bytes/respnginx bytes/respencodinggate
1css-100k-br97729829.950 (9.775-10.047)15.7065.941703121744br/gzipPASS
1css-100k-gzip1009998210.283 (10.104-10.357)15.2965.881669421744gzipPASS
1html-20k-br1029727443.752 (3.660-3.811)15.0123.6962367193br/gzipPASS
1html-20k-gzip1064627453.878 (3.801-3.932)14.4123.7064707193gzipPASS
1js-300k-br711418837.782 (37.371-37.957)22.353579.5579667111126br/gzipPASS
1js-300k-gzip698818837.094 (36.753-37.337)22.903576.0191848111126gzipPASS
6css-100k-br59169591710.000 (9.869-10.003)2.0612.451703121744br/gzipreport (>= 1.0)
6css-100k-gzip61711591810.416 (10.254-10.437)1.8917.511669421744gzipreport (>= 1.0)
6html-20k-br62050163793.785 (3.732-3.795)1.904.4462367193br/gzipreport (>= 1.0)
6html-20k-gzip64471163733.938 (3.892-3.949)1.935.0664707193gzipreport (>= 1.0)
6js-300k-br43311111938.638 (38.377-38.691)3.1359.8179667111126br/gzipreport (>= 1.0)
6js-300k-gzip42840111938.255 (37.937-38.287)2.6659.5491848111126gzipreport (>= 1.0)

(c) mode all, 50 KiB PHP page, against nginx gzip on over FastCGI (gate at 1 CPU: >= 1.05)

CPUsscenarioscalws-all rpsnginx rpsratio (median, min-max)scalws-all p99 msnginx p99 msscalws-all bytes/respnginx bytes/respencodinggate
1php-50k-gzip196811621.690 (1.686-1.694)33.4055.842310517259gzipPASS
6php-50k-gzip836347151.745 (1.590-1.832)9.6815.872310517259gzipreport (>= 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)

CPUsscenarioscalws-b rpsscalws-a rpsratio (median, min-max)scalws-b p99 msscalws-a p99 msscalws-b CPU us/reqscalws-a CPU us/reqscalws-b bytes/respencodinggate
1proxy-1k16392181630.904 (0.892-0.910)4.243.8561.055.11024identityFAIL
1proxy-20k-css13385144860.923 (0.919-0.928)5.144.8174.769.020480identityFAIL
6proxy-1k955131007640.950 (0.943-0.951)0.990.9762.858.81024identityFAIL
6proxy-20k-css74931770700.971 (0.971-0.976)1.351.3678.674.120480identityPASS

(c) edge keys and gzip against (a)

CPUsscenarioscalws-c rpsscalws-a rpsratio (median, min-max)scalws-c p99 msscalws-a p99 msscalws-c CPU us/reqscalws-a CPU us/reqscalws-c bytes/respencodinggate
1proxy-1k12247181630.676 (0.666-0.688)5.643.8581.755.1499gzipreport
1proxy-20k-css5822144860.400 (0.400-0.411)11.404.81171.969.05394gzipreport
6proxy-1k718251007640.715 (0.705-0.719)1.240.9783.558.8499gzipreport
6proxy-20k-css35230770700.457 (0.456-0.461)2.651.36170.374.15394gzipreport

(a) against nginx without the edge directives

CPUsscenarioscalws-a rpsnginx-a rpsratio (median, min-max)scalws-a p99 msnginx-a p99 msscalws-a CPU us/reqnginx-a CPU us/reqscalws-a bytes/respencodinggate
1proxy-1k18163162321.130 (1.091-1.131)3.854.2755.161.61024identityreport
1proxy-20k-css14486117861.229 (1.198-1.244)4.815.8069.084.920480identityreport
6proxy-1k100764974071.035 (1.031-1.051)0.970.9258.861.51024identityreport
6proxy-20k-css77070719251.073 (1.064-1.085)1.361.1774.183.320480identityreport

(b) against nginx with the equivalent edge directives

CPUsscenarioscalws-b rpsnginx-b rpsratio (median, min-max)scalws-b p99 msnginx-b p99 msscalws-b CPU us/reqnginx-b CPU us/reqscalws-b bytes/respencodinggate
1proxy-1k16392145801.124 (1.122-1.133)4.244.7361.068.61024identityreport
1proxy-20k-css13385110051.217 (1.213-1.221)5.146.1974.790.920480identityreport
6proxy-1k95513871481.098 (1.090-1.138)0.990.9862.868.81024identityreport
6proxy-20k-css74931663491.130 (1.119-1.163)1.351.2678.690.420480identityreport

(c) against nginx with the edge directives and gzip

CPUsscenarioscalws-c rpsnginx-c rpsratio (median, min-max)scalws-c p99 msnginx-c p99 msscalws-c CPU us/reqnginx-c CPU us/reqscalws-c bytes/respencodinggate
1proxy-1k12247109751.118 (1.094-1.119)5.646.1981.791.1499gzipreport
1proxy-20k-css582240771.429 (1.421-1.436)11.4016.14171.9245.65394gzipreport
6proxy-1k71825653751.095 (1.087-1.111)1.241.2083.591.7499gzipreport
6proxy-20k-css35230242681.452 (1.448-1.465)2.653.56170.3247.25394gzipreport

nginx’s own edge cost: nginx-b against nginx-a

CPUsscenarionginx-b rpsnginx-a rpsratio (median, min-max)nginx-b p99 msnginx-a p99 msnginx-b CPU us/reqnginx-a CPU us/reqnginx-b bytes/respencodinggate
1proxy-1k14580162320.897 (0.878-0.908)4.734.2768.661.61024identityreport
1proxy-20k-css11005117860.934 (0.909-0.943)6.195.8090.984.920480identityreport
6proxy-1k87148974070.895 (0.862-0.909)0.980.9268.861.51024identityreport
6proxy-20k-css66349719250.919 (0.896-0.941)1.261.1790.483.320480identityreport

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)

CPUsscenarioscalws-b rpsscalws-a rpsratio (median, min-max)scalws-b p99 msscalws-a p99 msscalws-b CPU us/reqscalws-a CPU us/reqscalws-b bytes/respencodinggate
1proxy-1k16339184260.887 (0.842-0.910)4.253.8061.254.31024identityFAIL
1proxy-20k-css13255145440.912 (0.882-0.917)5.174.7375.568.820480identityFAIL
6proxy-1k94620998620.945 (0.942-0.953)0.971.0163.458.21024identityFAIL
6proxy-20k-css74677762100.980 (0.979-0.981)1.301.3379.173.420480identityPASS

(c) edge keys and gzip against (a)

CPUsscenarioscalws-c rpsscalws-a rpsratio (median, min-max)scalws-c p99 msscalws-a p99 msscalws-c CPU us/reqscalws-a CPU us/reqscalws-c bytes/respencodinggate
1proxy-1k12011184260.651 (0.645-0.668)5.763.8083.354.3499gzipreport
1proxy-20k-css5804145440.399 (0.396-0.402)11.444.73172.568.85394gzipreport
6proxy-1k71596998620.715 (0.703-0.717)1.181.0183.858.2499gzipreport
6proxy-20k-css35352762100.464 (0.460-0.465)3.151.33169.773.45394gzipreport

Non-2xx answers over all rows: 0.