All http-server problem benchmarks

Current benchmark data was generated on Thu May 04 2023, full log can be found HERE


[x86_64][2 cores] Intel(R) Xeon(R) Platinum 8272CL CPU @ 2.60GHz (Model 85)

* -m in a file name stands for multi-threading or multi-processing

* -i in a file name stands for direct intrinsics usage. (Usage of simd intrinsics via libraries is not counted)

* -ffi in a file name stands for non-stdlib FFI usage

* (You may find time < time(user) + time(sys) for some non-parallelized programs, the overhead is from GC or JIT compiler, which are allowed to take advantage of multi-cores as that's more close to real-world scenarios.)


Input: 3000

lang code time stddev peak-mem mem time(user) time(sys) compiler compiler/runtime
d 2-m.d 5.8ms 10.0ms 15.9MB 10ms 0ms dmd 2.103.1
rust 135ms 20ms 18.8MB 80ms 83ms rustc 1.69.0
javascript 1.bun.js 159ms 6.7ms 86.0MB 87ms 70ms bun 0.5.9
go 1-http2.go 194ms 7.3ms 54.9MB 277ms 53ms go 1.20.4
rust 362ms 54ms 39.4MB 447ms 140ms rustc 1.69.0
rust 599ms 31ms 99.1MB 313ms 593ms rustc 1.69.0
go 2-m.go 673ms 30ms 157.5MB 667ms 437ms go 1.20.4
go 1-m.go 740ms 6.6ms 159.2MB 697ms 470ms go 1.20.4
csharp 2-http2.cs 924ms 8.1ms 124.6MB 970ms 130ms dotnet 7.0.203
nim 1.nim 955ms 17ms 94.3MB 470ms 443ms nim 1.6.12
nim 1.nim 961ms 8.5ms 94.7MB 457ms 460ms nim/clang 1.6.12
csharp 2.cs 1029ms 48ms 171.4MB 873ms 547ms dotnet 7.0.203
rust 1073ms 257ms 59.9MB 1323ms 533ms rustc 1.69.0
v 1.v 1084ms 81ms 8.4MB 657ms 837ms v/clang+gc 0.3.4
csharp 1.cs 1100ms 8.5ms 178.1MB 1070ms 507ms dotnet 7.0.203
csharp 2-http3.cs 1190ms 20ms 198.7MB 1327ms 237ms dotnet 7.0.203
typescript 1.ts 1349ms 86ms 163.3MB 1367ms 427ms deno 1.33.1
typescript 2.ts 1484ms 53ms 169.0MB 1470ms 463ms deno 1.33.1
dart 2.dart 1597ms 116ms 118.3MB 1360ms 920ms dart/exe
typescript 1-http2.ts 1757ms 44ms 176.1MB 1780ms 440ms deno 1.33.1
python 1759ms 12ms 33.8MB 1307ms 933ms pyston 3.8.12
dart 2.dart 1807ms 673ms 118.0MB 1147ms 843ms dart/exe 2.19.6
typescript 2-tls.ts 2095ms 917ms 213.4MB 2013ms 543ms deno 1.33.1
python 2124ms 28ms 29.8MB 1697ms 923ms cpython 3.11.3
crystal 3771ms 192ms 191.7MB 607ms 360ms crystal 1.8.1
dart 1.dart 3839ms 120ms 109.7MB 1167ms 593ms dart/exe 2.19.6
javascript 1.js 4013ms 631ms 192.1MB 3677ms 940ms node 20.0.0
python 4614ms 20ms 126.8MB 3537ms 890ms pypy 3.9.16
d 1.d timeout 0.0ms 17.2MB 650ms 417ms dmd 2.103.1
d 1.d timeout 0.0ms 14.9MB 427ms 437ms ldc2 1.32.1
d 2.d timeout 0.0ms 14.8MB 440ms 433ms ldc2 1.32.1
dart 1.dart timeout 0.0ms 117.5MB 1247ms 890ms dart/exe
kotlin 1.kt timeout 0.0ms 283.8MB 8757ms 780ms kotlin/jvm 17.0.2
kotlin 2.kt timeout 0.0ms 274.8MB 8707ms 767ms kotlin/jvm 17.0.2

Input: 500

lang code time stddev peak-mem mem time(user) time(sys) compiler compiler/runtime
d 2-m.d 3.7ms 6.4ms 16.0MB 70ms 80ms ldc2 1.32.1
d 2-m.d 5.2ms 9.0ms 17.1MB 110ms 70ms dmd 2.103.1
go 1-http2.go 46ms 1.2ms 23.3MB 50ms 3ms go 1.20.4
rust 74ms 15ms 13.9MB 10ms 40ms rustc 1.69.0
javascript 1.bun.js 105ms 3.5ms 74.6MB 30ms 40ms bun 0.5.9
nim 1.nim 143ms 2.5ms 18.3MB 53ms 73ms nim 1.6.12
rust 143ms 15ms 23.4MB 43ms 103ms rustc 1.69.0
go 2.go 144ms 6.8ms 38.6MB 100ms 73ms go 1.20.4
nim 1.nim 145ms 3.0ms 18.5MB 63ms 63ms nim/clang 1.6.12
go 1.go 145ms 10ms 35.9MB 103ms 77ms go 1.20.4
v 1.v 192ms 23ms 6.8MB 123ms 120ms v/clang+gc 0.3.4
typescript 1.ts 308ms 20ms 84.0MB 223ms 93ms deno 1.33.1
typescript 2.ts 320ms 3.2ms 81.0MB 230ms 103ms deno 1.33.1
rust 332ms 75ms 27.0MB 440ms 110ms rustc 1.69.0
typescript 1-http2.ts 371ms 29ms 83.2MB 293ms 83ms deno 1.33.1
rust 377ms 38ms 29.0MB 523ms 127ms rustc 1.69.0
python 402ms 6.0ms 30.2MB 293ms 170ms pyston 3.8.12
javascript 1.js 428ms 19ms 77.4MB 407ms 90ms node 20.0.0
python 439ms 8.1ms 24.9MB 333ms 170ms cpython 3.11.3
typescript 2-tls.ts 481ms 14ms 88.5MB 393ms 93ms deno 1.33.1
csharp 1.cs 562ms 1.0ms 97.4MB 543ms 153ms dotnet 7.0.203
csharp 2.cs 617ms 17ms 85.8MB 407ms 140ms dotnet 7.0.203
csharp 2-http2.cs 800ms 5.4ms 92.1MB 773ms 83ms dotnet 7.0.203
csharp 2-http3.cs 886ms 10.0ms 103.3MB 857ms 120ms dotnet 7.0.203
dart 2.dart 938ms 583ms 57.1MB 190ms 137ms dart/exe 2.19.6
python 1170ms 6.1ms 96.5MB 913ms 207ms pypy 3.9.16
crystal 1223ms 105ms 52.1MB 73ms 53ms crystal 1.8.1
dart 2.dart 1254ms 22ms 49.6MB 207ms 173ms dart/exe
dart 1.dart 1511ms 141ms 55.2MB 180ms 113ms dart/exe 2.19.6
dart 1.dart 2050ms 499ms 50.2MB 223ms 177ms dart/exe
kotlin 2-m.kt 2591ms 138ms 195.5MB 3837ms 303ms kotlin/jvm 17.0.2
kotlin 1-m.kt 2890ms 194ms 199.8MB 4377ms 387ms kotlin/jvm 17.0.2
d 1.d timeout 0.0ms 18.9MB 120ms 65ms dmd 2.103.1
d 1.d timeout 0.0ms 14.6MB 75ms 70ms ldc2 1.32.1