=================================================================================
Curent speed of voda javascript runtme:
Linux Sofia 5.10.0-21-amd64 #1 SMP Debian 5.10.162-1 (2023-01-21) x86_64 GNU/Linux
AMD Ryzen 9 5950X 16-Core Processor
- voda 1.1.1.965 http://localhost:8080/
- lighttpd 1.4.69 http://localhost:80/
- bun 0.4.0 http://localhost:3000/
- deno 1.30.3 http://localhost:3001/
- node 16.18.0 http://localhost:3002/
=================================================================================
---------------------------------------------------------------------------------
Comparison between voda and lighttpd connections
voda is about 106.3% faster compared to lighttpd
* for less than 256 concurrent connections lighttpd shows similar results
---------------------------------------------------------------------------------
--> voda: 512 concurrent connections returning a static png file 1004463 bytes
bojo@Sofia:~$ wrk -c 512 -d 1m -t 128 --latency http://localhost:8080/pi0w.png
Running 1m test @ http://localhost:8080/pi0w.png
128 threads and 512 connections
Thread Stats Avg Stdev Max +/- Stdev
Latency 47.92ms 4.04ms 95.53ms 79.59%
Req/Sec 83.51 7.10 161.00 89.38%
Latency Distribution
50% 47.99ms
75% 51.85ms
90% 52.02ms
99% 56.02ms
641974 requests in 1.00m, 601.08GB read
Requests/sec: 10684.43
Transfer/sec: 10.00GB
--> lighttpd: 512 concurrent connections returning a static png file 1004463 bytes
bojo@Sofia:~$ wrk -c 512 -d 1m -t 128 --latency http://localhost:80/pi0w.png
Running 1m test @ http://localhost:80/pi0w.png
128 threads and 512 connections
Thread Stats Avg Stdev Max +/- Stdev
Latency 34.46ms 13.17ms 1.07s 99.06%
Req/Sec 102.84 33.73 626.00 79.35%
Latency Distribution
50% 34.46ms
75% 35.08ms
90% 36.33ms
99% 36.93ms
604080 requests in 1.00m, 565.38GB read
Socket errors: connect 0, read 0, write 0, timeout 2907
Requests/sec: 10051.37
Transfer/sec: 9.41GB
---------------------------------------------------------------------------------
Comparison voda vs bun, deno, node - returning similar size dynamic json
- bun - voda is about 415.07% faster
- deno - voda is about 916.24% faster
- node - voda is about 1446.02% faster
---------------------------------------------------------------------------------
--> voda: 512 concurrent connections returning a dynamic json
bojo@Sofia:~$ wrk -c 512 -d 1m -t 128 --latency http://localhost:8080/perf
Running 1m test @ http://localhost:8080/perf
128 threads and 512 connections
Thread Stats Avg Stdev Max +/- Stdev
Latency 660.24us 716.89us 48.24ms 98.86%
Req/Sec 6.55k 689.29 90.58k 93.71%
Latency Distribution
50% 607.00us
75% 652.00us
90% 700.00us
99% 1.66ms
50136867 requests in 1.00m, 7.51GB read
Requests/sec: 834235.76
Transfer/sec: 128.01MB
--> bun: 512 concurrent connections returning a dynamic json
bojo@Sofia:~$ wrk -c 512 -d 1m -t 128 --latency http://localhost:3000/perf
Running 1m test @ http://localhost:3000/perf
128 threads and 512 connections
Thread Stats Avg Stdev Max +/- Stdev
Latency 2.55ms 504.62us 36.56ms 98.57%
Req/Sec 1.58k 83.68 12.40k 98.90%
Latency Distribution
50% 2.52ms
75% 2.56ms
90% 2.73ms
99% 2.84ms
12079257 requests in 1.00m, 1.70GB read
Requests/sec: 200985.93
Transfer/sec: 28.94MB
--> deno: 512 concurrent connections returning a dynamic json
bojo@Sofia:~$ wrk -c 512 -d 1m -t 128 --latency http://localhost:3001/perf
Running 1m test @ http://localhost:3001/perf
128 threads and 512 connections
Thread Stats Avg Stdev Max +/- Stdev
Latency 5.61ms 634.21us 38.36ms 88.30%
Req/Sec 716.08 42.83 4.27k 96.31%
Latency Distribution
50% 5.51ms
75% 5.61ms
90% 6.21ms
99% 7.90ms
5471888 requests in 1.00m, 0.85GB read
Requests/sec: 91049.63
Transfer/sec: 14.50MB
--> nodejs: 512 concurrent connections returning a dynamic json
bojo@Sofia:~$ wrk -c 512 -d 1m -t 128 --latency http://localhost:3002/perf
Running 1m test @ http://localhost:3002/perf
128 threads and 512 connections
Thread Stats Avg Stdev Max +/- Stdev
Latency 8.98ms 3.13ms 147.06ms 99.40%
Req/Sec 453.03 38.47 2.46k 84.63%
Latency Distribution
50% 8.63ms
75% 8.83ms
90% 9.94ms
99% 10.68ms
3467143 requests in 1.00m, 700.98MB read
Requests/sec: 57692.05
Transfer/sec: 11.66MB