All knucleotide problem benchmarks

Current benchmark data was generated on Wed May 25 2022, full log can be found HERE


[x86_64][2 cores] Intel(R) Xeon(R) Platinum 8272CL CPU @ 2.60GHz (Model 85)

* -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 239ms 9.2ms 23.5MB 397ms 7ms gcc 12.1.0
rust 360ms 6.6ms 28.2MB 633ms 10ms rustc 1.61.0
c 1-m.c 534ms 27ms 20.4MB 853ms 13ms clang 11.0.0
rust 637ms 8.6ms 23.9MB 610ms 13ms rustc 1.61.0
chapel 3-m.chpl 982ms 4.5ms 99.0MB 1783ms 33ms chpl 1.26.0
csharp 6.cs 1274ms 7.0ms 77.3MB 1860ms 37ms dotnet 6.0.300
julia 8.jl 1311ms 33ms 268.3MB 1580ms 167ms julia 1.7.2
go 7-m.go 1376ms 28ms 41.2MB 2520ms 33ms go 1.18.2
java 1439ms 19ms 115.2MB 2607ms 50ms openjdk 18.0.1
java 1507ms 11ms 113.1MB 2753ms 47ms openjdk 19
java 1545ms 33ms 197.8MB 2800ms 77ms graal/jvm 17.0.3
csharp 6-m.cs 1776ms 5.9ms 69.5MB 2940ms 27ms mono 6.12.0
swift 2-m.swift 1976ms 37ms 42.7MB 3600ms 23ms swift 5.6.1
java 2024ms 29ms 174.9MB 3523ms 173ms openjdk/zgc 18.0.1
dart 3-m.dart 3142ms 122ms 241.8MB 5380ms 127ms dart/exe 2.17.0
python 4821ms 7.2ms 212.7MB 8583ms 417ms pypy 3.8.13
python timeout 0.0ms 0.0MB 0ms 0ms cpython 3.10.4
python timeout 0.0ms 0.0MB 0ms 0ms pyston 3.8.12

Input: 250000_in

lang code time stddev peak-mem mem time(user) time(sys) compiler compiler/runtime
c 1.c 34ms 0.3ms 12.8MB 40ms 3ms gcc 12.1.0
rust 50ms 3.4ms 16.1MB 63ms 7ms rustc 1.61.0
c 1-m.c 64ms 1.5ms 9.6MB 100ms 0ms clang 11.0.0
rust 75ms 3.8ms 11.6MB 53ms 10ms rustc 1.61.0
chapel 3-m.chpl 168ms 1.4ms 88.3MB 243ms 30ms chpl 1.26.0
go 7-m.go 229ms 3.1ms 21.3MB 357ms 10ms go 1.18.2
csharp 6.cs 249ms 7.7ms 62.2MB 280ms 27ms dotnet 6.0.300
csharp 6.cs 270ms 6.3ms 55.6MB 357ms 20ms mono 6.12.0
swift 2-m.swift 357ms 25ms 31.9MB 557ms 23ms swift 5.6.1
java 478ms 47ms 81.8MB 777ms 43ms openjdk 18.0.1
java 483ms 14ms 94.0MB 713ms 83ms openjdk/zgc 18.0.1
dart 3-m.dart 497ms 7.4ms 193.8MB 747ms 107ms dart/exe 2.17.0
java 554ms 29ms 94.7MB 930ms 50ms openjdk 19
python 665ms 7.3ms 88.7MB 983ms 137ms pypy 3.8.13
python 668ms 5.8ms 16.2MB 1170ms 37ms pyston 3.8.12
julia 8.jl 906ms 41ms 256.4MB 993ms 153ms julia 1.7.2
python 965ms 12ms 15.3MB 1743ms 37ms cpython 3.10.4
java 1462ms 0.8ms 192.7MB 2703ms 67ms graal/jvm 17.0.3