All json-serde 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.)

json-serde

Input: sample 5000

lang code time stddev peak-mem mem time(user) time(sys) compiler compiler/runtime
rust 5-i.rs 29ms 2.1ms 9.8MB 17ms 0ms rustc 1.82.0
rust 4-i.rs 30ms 2.3ms 7.9MB 17ms 0ms rustc 1.82.0
go 2-ffi.go 45ms 0.9ms 40.6MB 40ms 0ms go 1.23.3
rust 3.rs 61ms 0.5ms 33.8MB 37ms 13ms rustc 1.82.0
rust 2.rs 64ms 1.7ms 35.5MB 40ms 10ms rustc 1.82.0
d 2-m.d 71ms 21ms 15.5MB 70ms 50ms ldc2 1.39.0
javascript 1.js 86ms 4.3ms 65.6MB 67ms 3ms bun 1.1.34
rust 1.rs 102ms 2.0ms 69.1MB 53ms 33ms rustc 1.82.0
javascript 1.js 110ms 1.2ms 79.3MB 100ms 13ms node 23.1.0
go 1.go 142ms 3.4ms 18.4MB 127ms 3ms go 1.23.3
dart 1.dart 165ms 1.1ms 52.7MB 133ms 23ms dart/exe 3.5.4
typescript 1.ts 172ms 1.8ms 95.8MB 167ms 33ms deno 2.0.6
python 1.py 198ms 3.4ms 38.6MB 170ms 13ms pyston 3.8.12
python 1.py 221ms 1.9ms 38.5MB 203ms 7ms cpython 3.13.0
d 2.d 241ms 1.1ms 22.6MB 240ms 10ms dmd 2.109.1
python 1.py 290ms 3.3ms 87.3MB 250ms 23ms pypy 3.10.14
ruby 1.rb 294ms 1.9ms 46.9MB 250ms 30ms ruby/yjit 3.3.6
ruby 1.rb 297ms 3.8ms 49.1MB 247ms 37ms ruby 3.3.6
csharp 2.cs 306ms 2.5ms 80.6MB 277ms 23ms dotnet 9.0.100
csharp 1.cs 721ms 29ms 151.5MB 760ms 67ms dotnet 9.0.100
kotlin 1-m.kt 893ms 18ms 206.2MB 2427ms 80ms kotlin/jvm 21
ruby 1-m.rb 4661ms 228ms 506.6MB 12150ms 317ms truffleruby 24.1.1

Input: canada 15

lang code time stddev peak-mem mem time(user) time(sys) compiler compiler/runtime
rust 5-i.rs 208ms 0.9ms 52.8MB 177ms 13ms rustc 1.82.0
go 2-ffi.go 238ms 5.4ms 149.3MB 240ms 20ms go 1.23.3
rust 4-i.rs 241ms 2.7ms 54.5MB 200ms 27ms rustc 1.82.0
javascript 1.js 380ms 1.5ms 206.5MB 343ms 77ms bun 1.1.34
rust 2.rs 403ms 2.8ms 238.0MB 307ms 80ms rustc 1.82.0
rust 3.rs 414ms 4.2ms 238.3MB 307ms 97ms rustc 1.82.0
d 2.d 472ms 2.3ms 139.9MB 443ms 33ms ldc2 1.39.0
javascript 1.js 682ms 2.1ms 206.8MB 777ms 90ms node 23.1.0
rust 1.rs 687ms 5.7ms 551.0MB 437ms 237ms rustc 1.82.0
go 1.go 775ms 3.8ms 104.7MB 763ms 10ms go 1.23.3
typescript 1.ts 1334ms 28ms 427.4MB 1503ms 133ms deno 2.0.6
dart 1.dart 1414ms 9.1ms 300.5MB 1480ms 113ms dart/exe 3.5.4
csharp 2.cs 1581ms 74ms 223.9MB 1753ms 97ms dotnet 9.0.100
python 1.py 1827ms 9.2ms 220.5MB 1667ms 143ms pyston 3.8.12
python 1.py 1913ms 11ms 221.8MB 1837ms 60ms pypy 3.10.14
python 1.py 1923ms 6.6ms 222.5MB 1820ms 87ms cpython 3.13.0
kotlin 1-m.kt 2296ms 21ms 773.1MB 4957ms 173ms kotlin/jvm 21
ruby 1.rb 2300ms 6.4ms 167.0MB 2183ms 97ms ruby/yjit 3.3.6
ruby 1.rb 2314ms 14ms 169.5MB 2207ms 90ms ruby 3.3.6
d 2.d 2492ms 4.3ms 157.1MB 2493ms 43ms dmd 2.109.1
csharp 1.cs 2538ms 31ms 759.0MB 2750ms 410ms dotnet 9.0.100
ruby 1.rb timeout 0.0ms 557.8MB 13143ms 343ms truffleruby 24.1.1