All json-serde problem benchmarks

Current benchmark data was generated on Thu Jul 13 2023, full log can be found HERE


[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.)


Input: sample 5000

lang code time stddev peak-mem mem time(user) time(sys) compiler compiler/runtime
go 2-ffi.go 59ms 2.4ms 37.6MB 33ms 13ms go 1.20.6
rust 72ms 1.3ms 38.1MB 50ms 10ms rustc 1.70.0
rust 75ms 1.6ms 36.1MB 50ms 13ms rustc 1.70.0
d 2.d 76ms 2.3ms 15.4MB 73ms 0ms ldc2 1.32.2
zig 1.zig 76ms 0.7ms 18.8MB 63ms 0ms zig 0.11.0-dev.3978+711b4e93e
rust 120ms 3.5ms 75.3MB 90ms 13ms rustc 1.70.0
javascript 1.js 128ms 2.1ms 95.6MB 103ms 17ms bun 0.6.14
javascript 1.js 152ms 5.3ms 63.3MB 127ms 23ms node 20.4.0
go 1.go 173ms 1.2ms 18.4MB 163ms 0ms go 1.20.6
typescript 1.ts 214ms 4.6ms 85.0MB 203ms 27ms deno 1.35.1
python 249ms 0.4ms 38.4MB 213ms 20ms pyston 3.8.12
python 256ms 1.4ms 41.1MB 233ms 7ms cpython 3.11.4
dart 1.dart 266ms 4.1ms 57.5MB 247ms 7ms dart/exe 3.0.6
d 2.d 340ms 0.8ms 22.1MB 330ms 0ms dmd 2.104.1
python 399ms 1.9ms 106.6MB 367ms 17ms pypy 3.10.12
csharp 2.cs 407ms 11ms 74.0MB 357ms 30ms dotnet 7.0.306
ruby 1.rb 433ms 0.1ms 51.6MB 410ms 7ms ruby/yjit 3.2.2
ruby 1.rb 436ms 1.6ms 48.8MB 397ms 27ms ruby 3.2.2
csharp 1.cs 679ms 2.9ms 144.7MB 660ms 80ms dotnet 7.0.306
kotlin 1-m.kt 1007ms 43ms 214.8MB 1637ms 60ms kotlin/jvm 17.0.2
ruby 1.rb timeout 0.0ms 453.7MB 9193ms 197ms 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 389ms 3.3ms 174.9MB 350ms 97ms go 1.20.6
rust 495ms 0.8ms 258.3MB 393ms 80ms rustc 1.70.0
rust 509ms 0.8ms 257.4MB 403ms 90ms rustc 1.70.0
zig 1.zig 575ms 1.9ms 60.3MB 540ms 20ms zig 0.11.0-dev.3978+711b4e93e
d 2.d 613ms 4.6ms 141.7MB 570ms 30ms ldc2 1.32.2
javascript 1.js 698ms 1.7ms 259.9MB 680ms 40ms bun 0.6.14
rust 872ms 0.3ms 606.1MB 627ms 230ms rustc 1.70.0
javascript 1.js 1025ms 5.8ms 221.6MB 1020ms 87ms node 20.4.0
go 1.go 1070ms 4.8ms 101.9MB 1040ms 63ms go 1.20.6
typescript 1.ts 1718ms 3.6ms 414.3MB 1740ms 130ms deno 1.35.1
csharp 2.cs 1901ms 97ms 270.3MB 1947ms 120ms dotnet 7.0.306
dart 1.dart 2138ms 6.5ms 303.1MB 2217ms 87ms dart/exe 3.0.6
python 2322ms 2.4ms 223.1MB 2223ms 80ms cpython 3.11.4
python 2332ms 3.8ms 220.6MB 2177ms 137ms pyston 3.8.12
python 2468ms 3.1ms 245.1MB 2380ms 70ms pypy 3.10.12
csharp 1.cs 2935ms 42ms 788.7MB 2877ms 377ms dotnet 7.0.306
d 2.d 3697ms 8.0ms 155.8MB 3720ms 30ms dmd 2.104.1
kotlin 1-m.kt 3845ms 236ms 980.4MB 5927ms 230ms kotlin/jvm 17.0.2
ruby 1.rb 3991ms 0.7ms 175.2MB 3900ms 77ms ruby 3.2.2
ruby 1.rb 4015ms 44ms 174.0MB 3923ms 73ms ruby/yjit 3.2.2
ruby 1.rb timeout 0.0ms 426.7MB 9293ms 180ms truffleruby 22.3.1