All json-serde problem benchmarks

Current benchmark data was generated on Wed Jan 22 2025, 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 0.7ms 9.8MB 13ms 0ms rustc 1.84.0
rust 4-i.rs 31ms 1.8ms 7.9MB 17ms 3ms rustc 1.84.0
go 2-ffi.go 43ms 0.5ms 40.7MB 30ms 7ms go 1.23.5
rust 3.rs 60ms 0.2ms 32.0MB 37ms 7ms rustc 1.84.0
rust 2.rs 64ms 1.4ms 33.8MB 37ms 13ms rustc 1.84.0
d 2-m.d 68ms 20ms 15.8MB 57ms 57ms ldc2 1.40.0
javascript 1.js 85ms 1.9ms 68.8MB 57ms 20ms bun 1.1.45
rust 1.rs 100ms 1.1ms 67.4MB 53ms 30ms rustc 1.84.0
javascript 1.js 111ms 0.8ms 79.0MB 100ms 20ms node 23.6.0
go 1.go 142ms 1.6ms 18.5MB 133ms 3ms go 1.23.5
dart 1.dart 163ms 1.7ms 54.2MB 130ms 20ms dart/exe 3.6.1
typescript 1.ts 168ms 3.1ms 93.4MB 157ms 40ms deno 2.1.7
python 1.py 199ms 3.1ms 38.1MB 170ms 13ms pyston 3.8.12
python 1.py 219ms 2.4ms 38.6MB 190ms 10ms cpython 3.13.1
d 2.d 241ms 2.6ms 23.2MB 247ms 17ms dmd 2.109.1
ruby 1.rb 248ms 0.9ms 30.0MB 227ms 10ms ruby/yjit 3.4.1
ruby 1.rb 252ms 5.7ms 29.5MB 220ms 17ms ruby 3.4.1
python 1.py 295ms 1.7ms 87.4MB 257ms 23ms pypy 3.10.14
csharp 2.cs 310ms 6.9ms 79.1MB 273ms 23ms dotnet 9.0.102
csharp 1.cs 709ms 4.2ms 153.6MB 727ms 93ms dotnet 9.0.102
kotlin 1-m.kt 832ms 44ms 198.9MB 2267ms 67ms kotlin/jvm 21
ruby 1-m.rb 4601ms 279ms 548.8MB 12067ms 347ms truffleruby 24.1.2

Input: canada 15

lang code time stddev peak-mem mem time(user) time(sys) compiler compiler/runtime
rust 5-i.rs 216ms 3.0ms 52.8MB 183ms 10ms rustc 1.84.0
go 2-ffi.go 247ms 11ms 151.0MB 240ms 37ms go 1.23.5
rust 4-i.rs 263ms 6.1ms 53.6MB 203ms 40ms rustc 1.84.0
javascript 1.js 360ms 0.4ms 182.1MB 330ms 70ms bun 1.1.45
rust 3.rs 400ms 0.9ms 238.3MB 287ms 97ms rustc 1.84.0
rust 2.rs 406ms 1.7ms 238.1MB 297ms 93ms rustc 1.84.0
d 2.d 450ms 3.5ms 141.5MB 417ms 37ms ldc2 1.40.0
rust 1.rs 680ms 5.5ms 551.7MB 437ms 230ms rustc 1.84.0
javascript 1.js 701ms 3.1ms 206.6MB 800ms 90ms node 23.6.0
go 1.go 769ms 6.1ms 104.9MB 753ms 13ms go 1.23.5
typescript 1.ts 1205ms 0.3ms 427.3MB 1337ms 127ms deno 2.1.7
dart 1.dart 1467ms 10.0ms 299.7MB 1550ms 100ms dart/exe 3.6.1
csharp 2.cs 1545ms 50ms 223.7MB 1733ms 100ms dotnet 9.0.102
python 1.py 1828ms 10ms 220.4MB 1650ms 163ms pyston 3.8.12
python 1.py 1906ms 5.8ms 222.2MB 1817ms 73ms pypy 3.10.14
python 1.py 1909ms 11ms 221.8MB 1807ms 87ms cpython 3.13.1
ruby 1.rb 2071ms 5.8ms 133.2MB 1977ms 77ms ruby 3.4.1
ruby 1.rb 2092ms 22ms 132.9MB 2007ms 70ms ruby/yjit 3.4.1
kotlin 1-m.kt 2318ms 66ms 1048.1MB 5023ms 170ms kotlin/jvm 21
d 2.d 2501ms 11ms 158.3MB 2507ms 40ms dmd 2.109.1
csharp 1.cs 2599ms 54ms 757.2MB 2993ms 383ms dotnet 9.0.102
ruby 1.rb timeout 0.0ms 493.0MB 13207ms 337ms truffleruby 24.1.2