All http-server problem benchmarks

Current benchmark data was generated on Fri Dec 09 2022, full log can be found HERE

CONTRIBUTIONS are WELCOME!

[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.)

http-server

Input: 3000

lang code time stddev peak-mem mem time(user) time(sys) compiler compiler/runtime
javascript 1.bun.js 145ms 8.5ms 80.5MB 73ms 63ms bun 0.3.0
go 1-http2.go 186ms 2.3ms 54.1MB 260ms 63ms go 1.19.4
rust 1.rs 186ms 56ms 49.2MB 110ms 113ms rustc 1.65.0
rust 2-http2.rs 306ms 59ms 43.0MB 387ms 107ms rustc 1.65.0
rust 2-m.rs 547ms 8.5ms 109.9MB 300ms 543ms rustc 1.65.0
go 2-m.go 635ms 16ms 166.8MB 583ms 420ms go 1.19.4
go 1-m.go 668ms 33ms 167.1MB 653ms 437ms go 1.19.4
nim 1.nim 832ms 12ms 94.7MB 373ms 423ms nim/clang 1.6.10
nim 1.nim 836ms 2.8ms 94.5MB 407ms 397ms nim 1.6.10
csharp 2-http2.cs 949ms 4.1ms 204.4MB 973ms 133ms dotnet 7.0.100
rust 1-http2.rs 958ms 57ms 82.5MB 1127ms 523ms rustc 1.65.0
csharp 2.cs 975ms 15ms 235.7MB 823ms 540ms dotnet 7.0.100
csharp 1-m.cs 1026ms 50ms 244.1MB 1013ms 530ms dotnet 7.0.100
typescript 1.ts 1119ms 16ms 132.9MB 1310ms 320ms deno 1.28.3
typescript 2-tls.ts 1304ms 78ms 145.3MB 1390ms 387ms deno 1.28.3
csharp 2-http3.cs 1307ms 8.1ms 272.7MB 1430ms 347ms dotnet 7.0.100
typescript 2.ts 1395ms 167ms 135.4MB 1220ms 357ms deno 1.28.3
typescript 1-http2.ts 1457ms 55ms 140.0MB 1577ms 393ms deno 1.28.3
python 1.py 1685ms 11ms 35.4MB 1283ms 863ms pyston 3.8.12
python 1.py 2008ms 14ms 29.7MB 1547ms 943ms cpython 3.11.1
dart 2.dart 3090ms 29ms 118.2MB 1290ms 813ms dart/exe 2.18.5
crystal 1.cr 3707ms 389ms 206.8MB 547ms 320ms crystal 1.6.2
dart 1.dart 3934ms 28ms 95.6MB 1187ms 640ms dart/exe 2.18.5
javascript 1.js 3988ms 80ms 161.4MB 1810ms 420ms node 19.2.0
python 1.py 4531ms 53ms 122.1MB 3437ms 927ms pypy 3.9.15
kotlin 1.kt timeout 0.0ms 0.0MB 0ms 0ms kotlin/jvm 17.0.2
kotlin 2.kt timeout 0.0ms 0.0MB 0ms 0ms kotlin/jvm 17.0.2
v 1.v timeout 0.0ms 0.0MB 0ms 0ms v/clang+gc 0.3.2

Input: 500

lang code time stddev peak-mem mem time(user) time(sys) compiler compiler/runtime
go 1-http2.go 20ms 17ms 22.7MB 30ms 10ms go 1.19.4
javascript 1.bun.js 92ms 6.0ms 71.3MB 30ms 27ms bun 0.3.0
rust 1.rs 98ms 3.5ms 22.0MB 37ms 27ms rustc 1.65.0
go 2.go 134ms 11ms 38.9MB 80ms 63ms go 1.19.4
nim 1.nim 136ms 1.9ms 17.9MB 47ms 67ms nim 1.6.10
nim 1.nim 137ms 0.7ms 18.0MB 57ms 63ms nim/clang 1.6.10
rust 2.rs 138ms 5.7ms 28.4MB 53ms 77ms rustc 1.65.0
go 1.go 146ms 10ms 38.8MB 93ms 77ms go 1.19.4
typescript 2.ts 230ms 16ms 73.9MB 157ms 57ms deno 1.28.3
typescript 1.ts 231ms 4.9ms 74.0MB 140ms 73ms deno 1.28.3
typescript 1-http2.ts 272ms 2.5ms 71.9MB 187ms 70ms deno 1.28.3
rust 2-http2.rs 275ms 12ms 29.9MB 370ms 73ms rustc 1.65.0
python 1.py 375ms 2.4ms 28.2MB 287ms 153ms pyston 3.8.12
typescript 2-tls.ts 382ms 14ms 79.7MB 293ms 70ms deno 1.28.3
rust 1-http2.rs 390ms 3.8ms 29.1MB 550ms 103ms rustc 1.65.0
python 1.py 401ms 4.2ms 24.8MB 307ms 160ms cpython 3.11.1
javascript 1.js 404ms 8.2ms 72.7MB 370ms 87ms node 19.2.0
csharp 2.cs 522ms 17ms 159.2MB 387ms 167ms dotnet 7.0.100
csharp 1.cs 594ms 17ms 167.5MB 533ms 187ms dotnet 7.0.100
csharp 2-http2.cs 811ms 6.0ms 161.3MB 750ms 110ms dotnet 7.0.100
csharp 2-http3.cs 909ms 6.6ms 182.4MB 857ms 160ms dotnet 7.0.100
dart 2.dart 953ms 580ms 57.6MB 200ms 153ms dart/exe 2.18.5
python 1.py 1065ms 17ms 96.9MB 827ms 197ms pypy 3.9.15
crystal 1.cr 1284ms 9.0ms 51.9MB 63ms 53ms crystal 1.6.2
dart 1.dart 1485ms 135ms 55.6MB 163ms 113ms dart/exe 2.18.5
kotlin 1-m.kt 2727ms 85ms 182.6MB 4087ms 350ms kotlin/jvm 17.0.2
kotlin 2.kt 3010ms 422ms 193.8MB 2863ms 223ms kotlin/jvm 17.0.2
v 1.v timeout 0.0ms 0.0MB 0ms 0ms v/clang+gc 0.3.2