All json-serde problem benchmarks

Current benchmark data was generated on Wed Mar 22 2023, full log can be found HERE

CONTRIBUTIONS are WELCOME!

[x86_64][2 cores] Intel(R) Xeon(R) Platinum 8370C CPU @ 2.80GHz (Model 106)

* -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
d 2.d 75ms 0.9ms 15.8MB 70ms 0ms ldc2 1.31.0
rust 2.rs 76ms 0.1ms 38.0MB 53ms 7ms rustc 1.68.0
rust 3.rs 78ms 0.5ms 36.3MB 57ms 10ms rustc 1.68.0
go 2-ffi.go 81ms 7.2ms 37.6MB 57ms 3ms go 1.20.2
zig 1.zig 118ms 0.3ms 14.4MB 97ms 7ms zig 0.11.0-dev.2227+f9b582950
rust 1.rs 124ms 0.5ms 75.5MB 87ms 27ms rustc 1.68.0
javascript 1.js 139ms 8.2ms 93.6MB 103ms 20ms bun 0.5.8
javascript 1.js 174ms 1.7ms 76.4MB 150ms 20ms node 19.8.1
go 1.go 175ms 3.0ms 18.3MB 157ms 3ms go 1.20.2
python 1.py 255ms 2.1ms 38.4MB 223ms 20ms pyston 3.8.12
dart 1.dart 260ms 3.3ms 57.9MB 233ms 13ms dart/exe 3.0.0-339.0.dev
python 1.py 260ms 1.2ms 41.1MB 230ms 17ms cpython 3.11.2
dart 1.dart 266ms 3.6ms 59.7MB 243ms 10ms dart/exe 2.19.5
d 2.d 332ms 2.8ms 22.1MB 323ms 0ms dmd 2.102.2
python 1.py 387ms 0.5ms 104.4MB 347ms 27ms pypy 3.9.16
typescript 1.ts 387ms 3.3ms 99.1MB 383ms 37ms deno 1.31.3
csharp 2.cs 427ms 2.1ms 72.4MB 357ms 30ms dotnet 7.0.202
ruby 1.rb 443ms 1.9ms 50.1MB 413ms 17ms ruby 3.2.1
ruby 1.rb 446ms 2.3ms 51.3MB 420ms 10ms ruby/yjit 3.2.1
csharp 1.cs 685ms 8.2ms 141.0MB 683ms 63ms dotnet 7.0.202
kotlin 1-m.kt 994ms 22ms 215.9MB 1720ms 67ms kotlin/jvm 17.0.2
ruby 1.rb timeout 0.0ms 454.7MB 9170ms 213ms truffleruby 22.3.1

Input: canada 15

lang code time stddev peak-mem mem time(user) time(sys) compiler compiler/runtime
go 2-ffi.go 370ms 3.5ms 175.7MB 340ms 70ms go 1.20.2
rust 2.rs 505ms 2.9ms 258.5MB 377ms 110ms rustc 1.68.0
rust 3.rs 510ms 0.9ms 258.7MB 413ms 83ms rustc 1.68.0
d 2.d 627ms 2.4ms 138.5MB 583ms 27ms ldc2 1.31.0
zig 1.zig 715ms 0.7ms 75.0MB 667ms 30ms zig 0.11.0-dev.2227+f9b582950
javascript 1.js 729ms 5.1ms 263.7MB 700ms 57ms bun 0.5.8
rust 1.rs 894ms 8.6ms 604.7MB 643ms 230ms rustc 1.68.0
go 1.go 1049ms 11ms 101.7MB 1020ms 57ms go 1.20.2
javascript 1.js 1135ms 7.0ms 282.5MB 1083ms 117ms node 19.8.1
csharp 2.cs 1828ms 28ms 268.7MB 1947ms 110ms dotnet 7.0.202
dart 1.dart 2137ms 9.8ms 303.0MB 2180ms 110ms dart/exe 2.19.5
dart 1.dart 2151ms 9.2ms 305.3MB 2217ms 97ms dart/exe 3.0.0-339.0.dev
python 1.py 2371ms 12ms 220.6MB 2223ms 130ms pyston 3.8.12
python 1.py 2382ms 8.7ms 223.1MB 2260ms 107ms cpython 3.11.2
python 1.py 2464ms 17ms 244.4MB 2377ms 77ms pypy 3.9.16
csharp 1.cs 3001ms 50ms 784.8MB 2943ms 373ms dotnet 7.0.202
typescript 1.ts 3358ms 17ms 403.4MB 3497ms 167ms deno 1.31.3
d 2.d 3548ms 3.7ms 157.0MB 3577ms 23ms dmd 2.102.2
kotlin 1-m.kt 3985ms 160ms 943.4MB 5933ms 270ms kotlin/jvm 17.0.2
ruby 1.rb 3997ms 1.7ms 174.9MB 3910ms 70ms ruby/yjit 3.2.1
ruby 1.rb 4004ms 15ms 173.9MB 3903ms 83ms ruby 3.2.1
ruby 1.rb timeout 0.0ms 414.8MB 9253ms 187ms truffleruby 22.3.1