All http-server problem benchmarks

Current benchmark data was generated on Thu Jul 13 2023, full log can be found HERE


[x86_64][2 cores] Intel(R) Xeon(R) Platinum 8370C CPU @ 2.80GHz (Model 106)

* -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
go 1-http2.go 11ms 2.3ms 17.3MB 0ms 0ms go 1.20.6
javascript 1.bun.js 139ms 5.3ms 89.8MB 77ms 53ms bun 0.6.14
rust 222ms 15ms 48.5MB 100ms 140ms rustc 1.70.0
rust 382ms 18ms 55.1MB 200ms 353ms rustc 1.70.0
rust 413ms 89ms 54.3MB 497ms 170ms rustc 1.70.0
go 2-m.go 560ms 15ms 159.4MB 537ms 350ms go 1.20.6
go 1-m.go 610ms 23ms 175.2MB 570ms 397ms go 1.20.6
nim 1.nim 718ms 6.0ms 94.6MB 340ms 347ms nim/clang 1.6.14
nim 1.nim 722ms 2.7ms 94.2MB 313ms 377ms nim 1.6.14
v 1.v 844ms 25ms 6.7MB 567ms 667ms v/clang+gc 0.4.0
rust 853ms 170ms 76.0MB 1097ms 400ms rustc 1.70.0
csharp 2.cs 882ms 26ms 173.6MB 810ms 410ms dotnet 7.0.306
csharp 1.cs 971ms 36ms 174.6MB 983ms 453ms dotnet 7.0.306
typescript 2.ts 985ms 36ms 147.2MB 957ms 303ms deno 1.35.1
csharp 2-http2.cs 1037ms 83ms 134.0MB 1013ms 103ms dotnet 7.0.306
typescript 1.ts 1125ms 205ms 154.1MB 977ms 283ms deno 1.35.1
typescript 2-tls.ts 1177ms 11ms 153.6MB 1137ms 283ms deno 1.35.1
typescript 1-http2.ts 1185ms 36ms 148.2MB 1143ms 317ms deno 1.35.1
csharp 2-http3.cs 1211ms 30ms 194.8MB 1430ms 177ms dotnet 7.0.306
python 1502ms 5.2ms 35.2MB 1127ms 790ms pyston 3.8.12
dart 2.dart 1597ms 218ms 124.6MB 1070ms 853ms dart/exe 3.0.6
python 1857ms 8.4ms 29.7MB 1490ms 803ms cpython 3.11.4
dart 1.dart 2634ms 2281ms 123.8MB 1127ms 797ms dart/exe 3.0.6
javascript 1.js 3174ms 186ms 211.2MB 3457ms 773ms node 20.4.0
crystal 3497ms 61ms 192.3MB 360ms 360ms crystal 1.9.0
python 4045ms 60ms 127.2MB 3107ms 783ms pypy 3.10.12
d 1.d timeout 0.0ms 20.5MB 590ms 427ms dmd 2.104.1
d 2.d timeout 0.0ms 17.7MB 620ms 405ms dmd 2.104.1
d 1.d timeout 0.0ms 16.4MB 380ms 425ms ldc2 1.32.2
d 2.d timeout 0.0ms 14.8MB 430ms 390ms ldc2 1.32.2
kotlin 1.kt timeout 0.0ms 287.7MB 8840ms 760ms kotlin/jvm 17.0.2
kotlin 2.kt timeout 0.0ms 297.3MB 8820ms 700ms kotlin/jvm 17.0.2

Input: 500

lang code time stddev peak-mem mem time(user) time(sys) compiler compiler/runtime
go 1-http2.go 39ms 2.0ms 26.1MB 43ms 3ms go 1.20.6
rust 81ms 3.1ms 16.4MB 13ms 40ms rustc 1.70.0
javascript 1.bun.js 99ms 7.1ms 76.1MB 27ms 27ms bun 0.6.14
nim 1.nim 121ms 1.3ms 18.3MB 50ms 53ms nim/clang 1.6.14
go 1.go 122ms 7.7ms 37.4MB 87ms 50ms go 1.20.6
nim 1.nim 124ms 2.1ms 18.0MB 57ms 53ms nim 1.6.14
rust 125ms 9.5ms 25.9MB 37ms 73ms rustc 1.70.0
go 2.go 128ms 8.4ms 38.4MB 87ms 53ms go 1.20.6
v 1.v 144ms 5.0ms 5.6MB 83ms 113ms v/clang+gc 0.4.0
typescript 2.ts 216ms 4.3ms 80.5MB 147ms 53ms deno 1.35.1
typescript 1.ts 249ms 8.5ms 82.3MB 167ms 40ms deno 1.35.1
typescript 1-http2.ts 275ms 8.4ms 80.3MB 183ms 53ms deno 1.35.1
rust 275ms 67ms 31.4MB 347ms 80ms rustc 1.70.0
rust 339ms 80ms 27.2MB 447ms 80ms rustc 1.70.0
python 350ms 3.4ms 27.6MB 273ms 127ms pyston 3.8.12
python 381ms 5.9ms 25.2MB 273ms 163ms cpython 3.11.4
javascript 1.js 400ms 7.6ms 69.7MB 387ms 100ms node 20.4.0
typescript 2-tls.ts 405ms 5.6ms 83.5MB 323ms 60ms deno 1.35.1
csharp 2.cs 482ms 7.7ms 92.2MB 410ms 100ms dotnet 7.0.306
csharp 1.cs 526ms 6.7ms 97.2MB 513ms 137ms dotnet 7.0.306
csharp 2-http2.cs 827ms 18ms 90.8MB 813ms 73ms dotnet 7.0.306
csharp 2-http3.cs 970ms 86ms 107.6MB 913ms 110ms dotnet 7.0.306
python 1001ms 16ms 103.7MB 777ms 170ms pypy 3.10.12
dart 2.dart 1222ms 14ms 57.6MB 167ms 147ms dart/exe 3.0.6
crystal 1284ms 15ms 52.6MB 47ms 50ms crystal 1.9.0
dart 1.dart 2004ms 498ms 58.4MB 183ms 153ms dart/exe 3.0.6
kotlin 2.kt 2423ms 55ms 184.2MB 2593ms 177ms kotlin/jvm 17.0.2
kotlin 1-m.kt 2619ms 165ms 185.2MB 4190ms 313ms kotlin/jvm 17.0.2
d 1.d timeout 0.0ms 17.9MB 10ms 0ms dmd 2.104.1
d 2.d timeout 0.0ms 19.4MB 77ms 40ms dmd 2.104.1
d 1.d timeout 0.0ms 15.4MB 50ms 80ms ldc2 1.32.2
d 2.d timeout 0.0ms 14.8MB 70ms 70ms ldc2 1.32.2