All http-server problem benchmarks

Current benchmark data was generated on Sat Nov 16 2024, full log can be found HERE

CONTRIBUTIONS are WELCOME!

[x86_64][4 cores] AMD EPYC 7763 64-Core Processor (Model 1)

* -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
d 1-m.d 3.6ms 6.2ms 18.1MB 355ms 765ms ldc2 1.39.0
go 1-http2.go 109ms 2.4ms 57.5MB 300ms 73ms go 1.23.3
rust 1.rs 334ms 31ms 48.5MB 133ms 340ms rustc 1.82.0
javascript 1.bun.js 393ms 25ms 68.7MB 123ms 420ms bun 1.1.34
rust 2-http2.rs 406ms 99ms 66.1MB 637ms 483ms rustc 1.82.0
go 1-m.go 478ms 56ms 174.5MB 643ms 653ms go 1.23.3
go 2-m.go 485ms 29ms 172.5MB 660ms 647ms go 1.23.3
rust 2-m.rs 499ms 44ms 87.2MB 220ms 833ms rustc 1.82.0
rust 1-http2.rs 535ms 89ms 71.7MB 747ms 743ms rustc 1.82.0
csharp 2-http2.cs 545ms 8.9ms 120.8MB 720ms 160ms dotnet 9.0.100
csharp 2-m.cs 682ms 35ms 144.9MB 717ms 573ms dotnet 9.0.100
csharp 2-http3.cs 706ms 29ms 160.4MB 1150ms 260ms dotnet 9.0.100
csharp 1-m.cs 827ms 39ms 188.6MB 1083ms 753ms dotnet 9.0.100
typescript 2-m.ts 954ms 20ms 158.9MB 873ms 567ms deno 2.0.6
typescript 1-m.ts 958ms 14ms 162.8MB 887ms 553ms deno 2.0.6
nim 1.nim 995ms 24ms 98.7MB 293ms 673ms nim 2.2.0
nim 1.nim 995ms 19ms 99.1MB 257ms 710ms nim/clang 2.2.0
d 1.d 1033ms 0.9ms 22.7MB 413ms 777ms dmd 2.109.1
d 2.d 1035ms 0.6ms 25.0MB 443ms 757ms dmd 2.109.1
typescript 2-tls.ts 1121ms 10ms 163.7MB 1073ms 543ms deno 2.0.6
typescript 1-http2.ts 1161ms 18ms 169.3MB 1100ms 520ms deno 2.0.6
dart 2-m.dart 1563ms 1.3ms 116.0MB 1247ms 1637ms dart/exe 3.5.4
javascript 1-m.js 2057ms 1804ms 249.5MB 3413ms 1893ms node 23.1.0
crystal 1.cr 2213ms 195ms 186.4MB 290ms 500ms crystal 1.14.0
python 1.py 2272ms 127ms 33.5MB 1563ms 1653ms cpython 3.13.0
python 1.py 2302ms 178ms 36.3MB 1130ms 1547ms pyston 3.8.12
dart 1.dart 3881ms 628ms 110.1MB 1177ms 1477ms dart/exe 3.5.4
python 1.py 4585ms 82ms 106.7MB 2800ms 1187ms pypy 3.10.14
kotlin 2-m.kt 4705ms 97ms 372.4MB 14620ms 2427ms kotlin/jvm 21
d 2.d timeout 0.0ms 22.1MB 333ms 780ms ldc2 1.39.0
kotlin 1.kt timeout 0.0ms 382.6MB 16320ms 2680ms kotlin/jvm 21

Input: 500

lang code time stddev peak-mem mem time(user) time(sys) compiler compiler/runtime
go 1-http2.go 22ms 12ms 22.7MB 45ms 25ms go 1.23.3
rust 1.rs 93ms 4.5ms 17.2MB 20ms 63ms rustc 1.82.0
go 2-m.go 98ms 17ms 40.5MB 73ms 113ms go 1.23.3
go 1-m.go 128ms 4.8ms 38.2MB 83ms 137ms go 1.23.3
rust 2.rs 130ms 8.5ms 31.2MB 37ms 153ms rustc 1.82.0
nim 1.nim 161ms 1.8ms 18.2MB 33ms 110ms nim 2.2.0
nim 1.nim 163ms 3.0ms 18.3MB 33ms 113ms nim/clang 2.2.0
javascript 1.bun.js 174ms 8.4ms 54.1MB 40ms 87ms bun 1.1.34
rust 2-http2.rs 193ms 20ms 27.7MB 263ms 153ms rustc 1.82.0
typescript 1.ts 228ms 10.0ms 96.8MB 113ms 107ms deno 2.0.6
typescript 2.ts 238ms 15ms 97.6MB 140ms 93ms deno 2.0.6
typescript 1-http2.ts 296ms 9.7ms 93.6MB 183ms 90ms deno 2.0.6
rust 1-http2.rs 306ms 52ms 35.1MB 673ms 217ms rustc 1.82.0
d 2.d 338ms 585ms 22.0MB 50ms 140ms ldc2 1.39.0
dart 2-m.dart 347ms 3.6ms 49.6MB 227ms 293ms dart/exe 3.5.4
typescript 2-tls.ts 397ms 4.8ms 98.4MB 277ms 110ms deno 2.0.6
javascript 1.js 408ms 0.2ms 85.6MB 330ms 137ms node 23.1.0
csharp 2.cs 422ms 13ms 98.9MB 373ms 207ms dotnet 9.0.100
csharp 1-m.cs 466ms 7.7ms 109.6MB 507ms 263ms dotnet 9.0.100
csharp 2-http2.cs 468ms 11ms 98.5MB 490ms 93ms dotnet 9.0.100
csharp 2-http3.cs 521ms 1.4ms 107.2MB 587ms 127ms dotnet 9.0.100
d 1.d 1015ms 0.5ms 20.1MB 67ms 127ms ldc2 1.39.0
d 2.d 1015ms 0.4ms 24.4MB 77ms 133ms dmd 2.109.1
d 1.d 1015ms 0.5ms 24.6MB 63ms 140ms dmd 2.109.1
python 1.py 1088ms 1.2ms 30.7MB 223ms 283ms pyston 3.8.12
python 1.py 1199ms 99ms 28.6MB 293ms 300ms cpython 3.13.0
crystal 1.cr 1222ms 100ms 53.8MB 27ms 83ms crystal 1.14.0
python 1.py 1518ms 319ms 88.3MB 687ms 227ms pypy 3.10.14
kotlin 1-m.kt 2187ms 374ms 258.9MB 6430ms 637ms kotlin/jvm 21
dart 1.dart 2192ms 547ms 49.5MB 163ms 273ms dart/exe 3.5.4
kotlin 2-m.kt 2195ms 62ms 249.1MB 5710ms 610ms kotlin/jvm 21