All knucleotide problem benchmarks

Current benchmark data was generated on Wed Sep 28 2022, 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: 2500000_in

lang code time stddev peak-mem mem time(user) time(sys) compiler compiler/runtime
c 1-m.c 247ms 5.3ms 23.5MB 407ms 17ms gcc 12.2.0
rust 338ms 2.7ms 28.6MB 593ms 10ms rustc 1.64.0
c 1-m.c 529ms 44ms 20.3MB 830ms 17ms clang 11.0.0
rust 629ms 19ms 24.1MB 607ms 7ms rustc 1.64.0
chapel 3-m.chpl 960ms 3.0ms 86.8MB 1777ms 17ms chpl 1.27.0
julia 8.jl 1163ms 2.5ms 300.7MB 1513ms 140ms julia 1.8.1
csharp 6-m.cs 1216ms 108ms 75.7MB 1827ms 23ms dotnet 6.0.401
zig 1.zig 1234ms 8.1ms 22.0MB 1207ms 13ms zig 0.10.0-dev.4192+c75e8f361
java 1448ms 5.8ms 116.4MB 2650ms 43ms openjdk 19
go 7-m.go 1510ms 5.2ms 41.1MB 2797ms 37ms go 1.19.1
java 1510ms 20ms 115.1MB 2760ms 43ms openjdk 20
csharp 6-m.cs 1592ms 74ms 68.8MB 2630ms 30ms mono 6.12.0
java 1607ms 104ms 192.4MB 2947ms 63ms graal/jvm 17.0.4
java 1928ms 70ms 174.0MB 3423ms 110ms openjdk/zgc 19
dart 3-m.dart 2126ms 41ms 254.3MB 3647ms 90ms dart/exe 2.18.1
swift 2-m.swift 2319ms 337ms 52.2MB 3893ms 27ms swift 5.7.0
python 3411ms 2.7ms 203.0MB 5960ms 320ms pypy 3.8.13
python 4696ms 72ms 34.2MB 8987ms 57ms pyston 3.8.12
python timeout 0.0ms 0.0MB 0ms 0ms cpython 3.10.7

Input: 250000_in

lang code time stddev peak-mem mem time(user) time(sys) compiler compiler/runtime
c 1.c 33ms 0.8ms 12.8MB 50ms 0ms gcc 12.2.0
rust 46ms 0.5ms 15.6MB 60ms 3ms rustc 1.64.0
c 1-m.c 63ms 1.8ms 9.4MB 100ms 0ms clang 11.0.0
rust 76ms 1.4ms 11.5MB 60ms 7ms rustc 1.64.0
zig 1.zig 138ms 1.0ms 9.2MB 123ms 0ms zig 0.10.0-dev.4192+c75e8f361
chapel 3-m.chpl 165ms 1.2ms 76.8MB 263ms 17ms chpl 1.27.0
go 7-m.go 226ms 3.0ms 22.4MB 360ms 13ms go 1.19.1
csharp 6.cs 231ms 1.9ms 53.0MB 303ms 10ms mono 6.12.0
csharp 6.cs 236ms 3.9ms 65.5MB 243ms 37ms dotnet 6.0.401
swift 2-m.swift 361ms 12ms 33.6MB 610ms 10ms swift 5.7.0
dart 3-m.dart 361ms 9.1ms 194.7MB 550ms 63ms dart/exe 2.18.1
java 442ms 5.5ms 95.2MB 720ms 40ms openjdk 20
java 475ms 20ms 95.6MB 720ms 70ms openjdk/zgc 19
java 484ms 50ms 91.7MB 807ms 23ms openjdk 19
python 516ms 7.9ms 97.3MB 743ms 110ms pypy 3.8.13
python 550ms 5.5ms 15.7MB 953ms 47ms pyston 3.8.12
java 677ms 87ms 170.4MB 1190ms 60ms graal/jvm 17.0.4
julia 8.jl 825ms 2.6ms 277.1MB 923ms 133ms julia 1.8.1
python 832ms 4.8ms 13.6MB 1517ms 13ms cpython 3.10.7