Current benchmark data was generated on Sun Dec 01 2024, full log can be found HERE
CONTRIBUTIONS are WELCOME!
* -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.)
lang | code | time | stddev | peak-mem mem | time(user) | time(sys) | compiler compiler/runtime |
---|---|---|---|---|---|---|---|
go | 1-http2.go | 121ms | 2.2ms | 65.8MB | 333ms | 80ms | go 1.23.3 |
rust | 1-m.rs | 289ms | 71ms | 44.1MB | 103ms | 333ms | rustc 1.83.0 |
javascript | 1-m.bun.js | 352ms | 14ms | 69.3MB | 150ms | 410ms | bun 1.1.38 |
rust | 2-http2.rs | 382ms | 68ms | 77.9MB | 630ms | 457ms | rustc 1.83.0 |
rust | 1-http2.rs | 461ms | 79ms | 78.1MB | 593ms | 710ms | rustc 1.83.0 |
rust | 2-m.rs | 461ms | 71ms | 86.0MB | 200ms | 843ms | rustc 1.83.0 |
go | 1-m.go | 469ms | 13ms | 178.2MB | 657ms | 693ms | go 1.23.3 |
go | 2-m.go | 471ms | 13ms | 172.3MB | 627ms | 700ms | go 1.23.3 |
csharp | 2-http2.cs | 543ms | 21ms | 120.8MB | 740ms | 163ms | dotnet 9.0.100 |
csharp | 2-http3.cs | 691ms | 14ms | 157.1MB | 1143ms | 237ms | dotnet 9.0.100 |
csharp | 2-m.cs | 700ms | 8.0ms | 150.5MB | 797ms | 573ms | dotnet 9.0.100 |
typescript | 1.ts | 724ms | 16ms | 220.2MB | 637ms | 447ms | deno 2.1.2 |
typescript | 2.ts | 756ms | 47ms | 219.7MB | 653ms | 447ms | deno 2.1.2 |
csharp | 1-m.cs | 799ms | 31ms | 172.0MB | 1093ms | 723ms | dotnet 9.0.100 |
typescript | 1-http2.ts | 921ms | 55ms | 215.5MB | 840ms | 430ms | deno 2.1.2 |
nim | 1.nim | 996ms | 14ms | 99.4MB | 277ms | 693ms | nim/clang 2.2.0 |
nim | 1.nim | 1015ms | 23ms | 99.2MB | 290ms | 693ms | nim 2.2.0 |
typescript | 2-tls.ts | 1482ms | 33ms | 238.7MB | 1283ms | 543ms | deno 2.1.2 |
dart | 2-m.dart | 1492ms | 15ms | 116.0MB | 1193ms | 1603ms | dart/exe 3.5.4 |
crystal | 1.cr | 1947ms | 461ms | 187.1MB | 310ms | 500ms | crystal 1.14.0 |
python | 1.py | 2123ms | 18ms | 36.4MB | 1133ms | 1507ms | pyston 3.8.12 |
python | 1.py | 2379ms | 301ms | 33.3MB | 1593ms | 1627ms | cpython 3.13.0 |
javascript | 1.js | 3204ms | 115ms | 184.7MB | 3040ms | 1450ms | node 23.3.0 |
dart | 1.dart | 3955ms | 552ms | 110.6MB | 1253ms | 1483ms | dart/exe 3.5.4 |
python | 1.py | 4814ms | 17ms | 107.0MB | 2870ms | 1220ms | pypy 3.10.14 |
kotlin | 1.kt | timeout | 0.0ms | 394.9MB | 16237ms | 2760ms | kotlin/jvm 21 |
kotlin | 2.kt | timeout | 0.0ms | 429.2MB | 15370ms | 2387ms | kotlin/jvm 21 |
lang | code | time | stddev | peak-mem mem | time(user) | time(sys) | compiler compiler/runtime |
---|---|---|---|---|---|---|---|
go | 1-http2.go | 28ms | 3.1ms | 23.0MB | 57ms | 10ms | go 1.23.3 |
rust | 1.rs | 83ms | 4.0ms | 17.5MB | 30ms | 67ms | rustc 1.83.0 |
go | 1-m.go | 96ms | 6.3ms | 36.5MB | 77ms | 127ms | go 1.23.3 |
go | 2-m.go | 112ms | 12ms | 42.5MB | 93ms | 133ms | go 1.23.3 |
rust | 2-m.rs | 123ms | 6.6ms | 32.0MB | 43ms | 167ms | rustc 1.83.0 |
javascript | 1.bun.js | 130ms | 10ms | 54.0MB | 43ms | 80ms | bun 1.1.38 |
nim | 1.nim | 159ms | 2.7ms | 17.8MB | 37ms | 103ms | nim 2.2.0 |
nim | 1.nim | 166ms | 6.9ms | 18.1MB | 37ms | 113ms | nim/clang 2.2.0 |
rust | 1-http2.rs | 191ms | 24ms | 28.3MB | 353ms | 157ms | rustc 1.83.0 |
typescript | 1.ts | 193ms | 1.2ms | 99.5MB | 150ms | 97ms | deno 2.1.2 |
rust | 2-http2.rs | 194ms | 25ms | 33.2MB | 373ms | 157ms | rustc 1.83.0 |
typescript | 2.ts | 209ms | 16ms | 96.2MB | 147ms | 110ms | deno 2.1.2 |
typescript | 1-http2.ts | 234ms | 5.1ms | 101.5MB | 187ms | 97ms | deno 2.1.2 |
dart | 2-m.dart | 319ms | 9.8ms | 49.8MB | 193ms | 307ms | dart/exe 3.5.4 |
typescript | 2-tls.ts | 380ms | 6.2ms | 102.9MB | 270ms | 150ms | deno 2.1.2 |
javascript | 1.js | 397ms | 6.2ms | 85.4MB | 330ms | 133ms | node 23.3.0 |
csharp | 2.cs | 410ms | 18ms | 99.1MB | 407ms | 197ms | dotnet 9.0.100 |
csharp | 1-m.cs | 447ms | 15ms | 109.7MB | 547ms | 233ms | dotnet 9.0.100 |
csharp | 2-http2.cs | 452ms | 6.3ms | 99.7MB | 507ms | 97ms | dotnet 9.0.100 |
csharp | 2-http3.cs | 515ms | 19ms | 109.8MB | 607ms | 120ms | dotnet 9.0.100 |
python | 1.py | 1101ms | 27ms | 28.8MB | 217ms | 287ms | pyston 3.8.12 |
crystal | 1.cr | 1158ms | 90ms | 66.3MB | 30ms | 90ms | crystal 1.14.0 |
python | 1.py | 1170ms | 92ms | 28.7MB | 317ms | 273ms | cpython 3.13.0 |
python | 1.py | 1611ms | 66ms | 89.5MB | 723ms | 200ms | pypy 3.10.14 |
dart | 1.dart | 1827ms | 411ms | 49.9MB | 153ms | 267ms | dart/exe 3.5.4 |
kotlin | 2-m.kt | 2027ms | 55ms | 244.2MB | 5847ms | 583ms | kotlin/jvm 21 |
kotlin | 1-m.kt | 2574ms | 75ms | 211.5MB | 7400ms | 730ms | kotlin/jvm 21 |