All http-server problem benchmarks

Current benchmark data was generated on Tue Dec 31 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
go 1-http2.go 107ms 6.3ms 59.5MB 310ms 60ms go 1.23.4
rust 1.rs 282ms 67ms 43.7MB 103ms 310ms rustc 1.83.0
rust 2-http2.rs 292ms 25ms 60.6MB 500ms 323ms rustc 1.83.0
javascript 1.bun.js 340ms 18ms 72.6MB 90ms 403ms bun 1.1.42
rust 1-http2.rs 355ms 58ms 65.7MB 527ms 487ms rustc 1.83.0
go 1-m.go 457ms 4.6ms 172.4MB 660ms 590ms go 1.23.4
go 2-m.go 464ms 18ms 178.4MB 627ms 640ms go 1.23.4
rust 2-m.rs 469ms 97ms 86.4MB 190ms 743ms rustc 1.83.0
csharp 2-http2.cs 496ms 24ms 120.7MB 680ms 153ms dotnet 9.0.101
csharp 2-m.cs 619ms 9.7ms 152.3MB 680ms 523ms dotnet 9.0.101
typescript 1-m.ts 631ms 5.4ms 223.6MB 570ms 397ms deno 2.1.4
typescript 2.ts 648ms 18ms 224.1MB 550ms 417ms deno 2.1.4
csharp 2-http3.cs 660ms 21ms 157.7MB 1057ms 273ms dotnet 9.0.101
csharp 1-m.cs 750ms 12ms 176.3MB 1027ms 667ms dotnet 9.0.101
typescript 1-http2.ts 808ms 14ms 220.5MB 747ms 370ms deno 2.1.4
nim 1.nim 930ms 5.9ms 99.3MB 260ms 647ms nim 2.2.0
nim 1.nim 934ms 16ms 99.4MB 237ms 673ms nim/clang 2.2.0
typescript 2-tls.ts 1346ms 20ms 239.6MB 1180ms 480ms deno 2.1.4
dart 2-m.dart 1547ms 267ms 115.4MB 1087ms 1520ms dart/exe 3.6.0
crystal 1.cr 2050ms 398ms 189.3MB 260ms 487ms crystal 1.14.0
python 1.py 2185ms 130ms 36.3MB 963ms 1550ms pyston 3.8.12
python 1.py 2293ms 260ms 33.2MB 1447ms 1537ms cpython 3.13.1
javascript 1.js 2928ms 179ms 188.7MB 2733ms 1360ms node 23.5.0
dart 1.dart 4162ms 113ms 113.2MB 1103ms 1500ms dart/exe 3.6.0
python 1.py 4404ms 18ms 106.6MB 2683ms 1083ms pypy 3.10.14
kotlin 2-m.kt 4837ms 51ms 400.1MB 14360ms 2470ms kotlin/jvm 21
kotlin 1.kt timeout 0.0ms 405.3MB 16127ms 2747ms kotlin/jvm 21

Input: 500

lang code time stddev peak-mem mem time(user) time(sys) compiler compiler/runtime
go 1-http2.go 20ms 10ms 26.8MB 45ms 20ms go 1.23.4
rust 1.rs 76ms 20ms 15.8MB 10ms 63ms rustc 1.83.0
go 2-m.go 98ms 14ms 40.3MB 67ms 110ms go 1.23.4
go 1-m.go 112ms 11ms 44.6MB 123ms 120ms go 1.23.4
rust 2-m.rs 122ms 11ms 36.6MB 37ms 163ms rustc 1.83.0
javascript 1.bun.js 148ms 13ms 53.6MB 40ms 93ms bun 1.1.42
nim 1.nim 152ms 5.5ms 18.1MB 30ms 107ms nim/clang 2.2.0
nim 1.nim 155ms 3.4ms 18.2MB 37ms 100ms nim 2.2.0
typescript 1.ts 170ms 6.5ms 97.6MB 127ms 87ms deno 2.1.4
typescript 2.ts 171ms 2.2ms 99.4MB 137ms 83ms deno 2.1.4
typescript 1-http2.ts 216ms 9.2ms 98.7MB 163ms 93ms deno 2.1.4
rust 2-http2.rs 221ms 15ms 31.7MB 437ms 157ms rustc 1.83.0
rust 1-http2.rs 271ms 53ms 37.3MB 633ms 197ms rustc 1.83.0
dart 2-m.dart 291ms 6.1ms 50.3MB 177ms 267ms dart/exe 3.6.0
typescript 2-tls.ts 351ms 16ms 103.8MB 277ms 110ms deno 2.1.4
javascript 1.js 357ms 7.6ms 84.6MB 350ms 80ms node 23.5.0
csharp 2.cs 378ms 23ms 100.8MB 377ms 173ms dotnet 9.0.101
csharp 1-m.cs 423ms 8.7ms 109.1MB 483ms 233ms dotnet 9.0.101
csharp 2-http2.cs 423ms 15ms 98.0MB 457ms 97ms dotnet 9.0.101
csharp 2-http3.cs 474ms 16ms 104.5MB 530ms 143ms dotnet 9.0.101
python 1.py 1091ms 7.1ms 30.8MB 230ms 243ms pyston 3.8.12
crystal 1.cr 1162ms 112ms 53.7MB 40ms 63ms crystal 1.14.0
python 1.py 1188ms 161ms 28.8MB 293ms 250ms cpython 3.13.1
python 1.py 1741ms 161ms 88.8MB 650ms 203ms pypy 3.10.14
dart 1.dart 2087ms 499ms 49.9MB 163ms 243ms dart/exe 3.6.0
kotlin 1-m.kt 2173ms 206ms 269.1MB 6403ms 597ms kotlin/jvm 21
kotlin 2.kt 2226ms 288ms 241.9MB 2337ms 253ms kotlin/jvm 21