All json-serde problem benchmarks

Current benchmark data was generated on Thu Feb 01 2024, full log can be found HERE


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


Input: sample 5000

lang code time stddev peak-mem mem time(user) time(sys) compiler compiler/runtime
rust 28ms 1.8ms 9.8MB 20ms 0ms rustc 1.75.0
rust 30ms 2.1ms 7.9MB 17ms 0ms rustc 1.75.0
go 2-ffi.go 45ms 1.3ms 39.9MB 30ms 10ms go 1.21.6
d 2.d 59ms 1.4ms 15.8MB 57ms 13ms ldc2 1.36.0
rust 65ms 2.5ms 36.3MB 43ms 7ms rustc 1.75.0
rust 66ms 1.5ms 38.0MB 40ms 10ms rustc 1.75.0
javascript 1.js 83ms 2.6ms 108.5MB 67ms 7ms bun 1.0.25
rust 111ms 3.2ms 75.3MB 67ms 30ms rustc 1.75.0
javascript 1.js 119ms 1.2ms 65.0MB 90ms 30ms node 21.6.1
go 1.go 151ms 0.8ms 18.1MB 143ms 0ms go 1.21.6
typescript 1.ts 186ms 4.1ms 93.9MB 173ms 37ms deno 1.40.2
python 201ms 6.4ms 38.4MB 160ms 27ms pyston 3.8.12
dart 1.dart 202ms 4.6ms 53.2MB 173ms 17ms dart/exe 3.2.6
python 230ms 2.7ms 39.0MB 203ms 10ms cpython 3.12.1
d 2.d 235ms 1.6ms 22.9MB 237ms 7ms dmd 2.106.1
ruby 1.rb 295ms 2.6ms 49.8MB 250ms 30ms ruby 3.3.0
ruby 1.rb 305ms 2.8ms 49.0MB 257ms 33ms ruby/yjit 3.3.0
csharp 2.cs 312ms 1.6ms 80.6MB 257ms 23ms dotnet 8.0.101
python 326ms 1.1ms 85.7MB 280ms 27ms pypy 3.10.13
csharp 1.cs 740ms 51ms 155.1MB 740ms 90ms dotnet 8.0.101
kotlin 1-m.kt 829ms 56ms 212.4MB 2217ms 83ms kotlin/jvm 21
ruby 1-m.rb 4664ms 272ms 508.1MB 12213ms 377ms truffleruby 23.1.2

Input: canada 15

lang code time stddev peak-mem mem time(user) time(sys) compiler compiler/runtime
rust 199ms 2.8ms 53.3MB 170ms 13ms rustc 1.75.0
rust 239ms 1.5ms 54.5MB 197ms 23ms rustc 1.75.0
go 2-ffi.go 242ms 7.8ms 180.2MB 230ms 30ms go 1.21.6
rust 396ms 1.9ms 257.5MB 280ms 103ms rustc 1.75.0
rust 402ms 1.3ms 257.0MB 290ms 97ms rustc 1.75.0
javascript 1.js 414ms 3.1ms 271.4MB 430ms 23ms bun 1.0.25
d 2.d 454ms 1.5ms 139.1MB 427ms 30ms ldc2 1.36.0
javascript 1.js 737ms 2.7ms 202.3MB 783ms 97ms node 21.6.1
rust 747ms 7.7ms 605.1MB 483ms 250ms rustc 1.75.0
go 1.go 833ms 2.8ms 105.0MB 827ms 13ms go 1.21.6
typescript 1.ts 1301ms 3.0ms 435.2MB 1487ms 120ms deno 1.40.2
csharp 2.cs 1420ms 45ms 316.0MB 1503ms 157ms dotnet 8.0.101
dart 1.dart 1586ms 26ms 296.2MB 1623ms 130ms dart/exe 3.2.6
python 1829ms 10ms 220.5MB 1663ms 147ms pyston 3.8.12
python 1914ms 6.7ms 221.7MB 1797ms 100ms cpython 3.12.1
python 1969ms 28ms 221.1MB 1883ms 70ms pypy 3.10.13
ruby 1.rb 2261ms 6.5ms 170.4MB 2133ms 110ms ruby/yjit 3.3.0
ruby 1.rb 2266ms 17ms 168.1MB 2147ms 103ms ruby 3.3.0
csharp 1.cs 2325ms 42ms 805.3MB 2287ms 427ms dotnet 8.0.101
kotlin 1-m.kt 2357ms 60ms 1045.0MB 5193ms 157ms kotlin/jvm 21
d 2.d 2447ms 6.1ms 158.3MB 2457ms 40ms dmd 2.106.1
ruby 1.rb timeout 0.0ms 566.0MB 13103ms 413ms truffleruby 23.1.2