All knucleotide problem benchmarks

Current benchmark data was generated on Thu May 04 2023, full log can be found HERE

CONTRIBUTIONS are WELCOME!

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

knucleotide

Input: 2500000_in

lang code time stddev peak-mem mem time(user) time(sys) compiler compiler/runtime
c 1-m.c 238ms 1.6ms 23.5MB 390ms 10ms gcc 13.1.0
rust 8-m.rs 371ms 7.5ms 29.1MB 637ms 17ms rustc 1.69.0
c 1-m.c 495ms 13ms 20.6MB 840ms 20ms clang 14.0.0
rust 8.rs 638ms 20ms 24.1MB 617ms 7ms rustc 1.69.0
chapel 3-m.chpl 960ms 1.8ms 86.4MB 1740ms 20ms chpl 1.30.0
odin 1-m.odin 979ms 28ms 46.2MB 1670ms 60ms odin 2023
csharp 6-m.cs 1003ms 15ms 51.6MB 1493ms 23ms dotnet/aot 7.0.203
julia 8.jl 1187ms 5.4ms 271.7MB 1500ms 200ms julia 1.8.5
zig 1.zig 1212ms 4.8ms 22.7MB 1177ms 17ms zig 0.11.0-dev.2969+855493bb8
d 1-m.d 1229ms 86ms 51.2MB 2267ms 27ms ldc2 1.32.1
go 7-m.go 1373ms 9.8ms 42.6MB 2517ms 33ms go 1.20.4
java 3-m.java 1436ms 40ms 115.6MB 2610ms 47ms openjdk 20
java 3-m.java 1469ms 39ms 115.0MB 2647ms 57ms openjdk 21
java 3-m.java 1541ms 39ms 169.1MB 2777ms 57ms graal/jvm 17.0.7
csharp 6-m.cs 1816ms 6.3ms 71.7MB 2960ms 37ms mono 6.12.0
java 3-m.java 1994ms 21ms 172.7MB 3493ms 147ms openjdk/zgc 20
swift 2-m.swift 2272ms 84ms 44.5MB 4150ms 73ms swift 5.8.0
dart 3-m.dart 2966ms 31ms 279.3MB 5200ms 130ms dart/exe 3.1.0-63.0.dev
dart 3-m.dart 3200ms 258ms 256.0MB 5663ms 123ms dart/exe 2.19.6
d 1-m.d 3929ms 147ms 53.1MB 7423ms 27ms dmd 2.103.1
python 3-m.py 4677ms 58ms 209.3MB 8310ms 410ms pypy 3.9.16
csharp 6-m.cs 4763ms 179ms 71.4MB 9113ms 43ms dotnet 7.0.203
python 3.py timeout 0.0ms 35.2MB 97ms 13ms cpython 3.11.3
python 3.py timeout 0.0ms 34.2MB 73ms 20ms 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.7ms 12.8MB 43ms 0ms gcc 13.1.0
rust 8-m.rs 53ms 2.4ms 16.3MB 70ms 0ms rustc 1.69.0
c 1-m.c 59ms 1.9ms 9.7MB 90ms 0ms clang 14.0.0
rust 8.rs 80ms 0.2ms 11.4MB 60ms 7ms rustc 1.69.0
zig 1.zig 132ms 0.4ms 7.3MB 113ms 0ms zig 0.11.0-dev.2969+855493bb8
d 1-m.d 154ms 9.2ms 39.3MB 237ms 13ms ldc2 1.32.1
chapel 3-m.chpl 164ms 0.9ms 78.5MB 243ms 17ms chpl 1.30.0
csharp 6.cs 164ms 5.7ms 42.1MB 190ms 17ms dotnet/aot 7.0.203
odin 1.odin 218ms 2.7ms 31.1MB 273ms 30ms odin 2023
go 7-m.go 229ms 6.1ms 22.4MB 347ms 33ms go 1.20.4
csharp 6.cs 266ms 0.8ms 52.3MB 360ms 17ms mono 6.12.0
swift 2-m.swift 417ms 4.5ms 33.3MB 687ms 23ms swift 5.8.0
d 1-m.d 433ms 7.9ms 41.3MB 767ms 10ms dmd 2.103.1
java 3-m.java 455ms 21ms 85.4MB 717ms 43ms openjdk 20
dart 3-m.dart 462ms 4.8ms 195.6MB 743ms 67ms dart/exe 3.1.0-63.0.dev
java 3-m.java 471ms 33ms 93.3MB 757ms 47ms openjdk 21
dart 3-m.dart 478ms 9.7ms 196.3MB 750ms 83ms dart/exe 2.19.6
java 3-m.java 480ms 6.5ms 132.7MB 787ms 53ms graal/jvm 17.0.7
csharp 6-m.cs 485ms 3.4ms 60.4MB 733ms 27ms dotnet 7.0.203
java 3-m.java 491ms 11ms 94.3MB 713ms 90ms openjdk/zgc 20
python 3-m.py 635ms 0.8ms 86.0MB 947ms 127ms pypy 3.9.16
python 3-m.py 676ms 6.7ms 17.7MB 1183ms 33ms pyston 3.8.12
julia 8.jl 822ms 3.4ms 262.5MB 883ms 177ms julia 1.8.5
python 3-m.py 943ms 4.1ms 16.7MB 1683ms 53ms cpython 3.11.3