All knucleotide problem benchmarks

Current benchmark data was generated on Tue Apr 01 2025, full log can be found HERE

CONTRIBUTIONS are WELCOME!

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

knucleotide

Input: 2500000_in

lang code time stddev peak-mem mem time(user) time(sys) compiler compiler/runtime
c 1-m.c 178ms 6.8ms 22.6MB 413ms 7ms gcc 14.2.0
rust 8-m.rs 226ms 1.7ms 26.7MB 670ms 10ms rustc 1.85.1
c 1-m.c 321ms 47ms 25.9MB 1113ms 30ms clang 14.0.0-1ubuntu1.1
csharp 6-m.cs 455ms 5.5ms 46.4MB 1213ms 20ms dotnet/aot 9.0.202
rust 8.rs 469ms 8.7ms 22.5MB 447ms 7ms rustc 1.85.1
zig 1.zig 503ms 8.9ms 26.4MB 480ms 7ms zig 0.14.0
go 7-m.go 676ms 7.8ms 39.2MB 2383ms 20ms go 1.24.1
d 1-m.d 743ms 22ms 47.2MB 2477ms 10ms ldc2 1.40.1
chapel 3-m.chpl 749ms 1.1ms 85.2MB 1413ms 7ms chpl 1.31.0
csharp 6-m.cs 762ms 49ms 68.5MB 2093ms 33ms dotnet 9.0.202
csharp 6-m.cs 1027ms 49ms 70.1MB 2953ms 23ms mono 6.12.0
java 3-m.java 1046ms 62ms 129.0MB 3583ms 47ms openjdk 21
java 3-m.java 1088ms 44ms 179.5MB 3717ms 70ms graal/jvm 17.0.8
java 3-m.java 1110ms 33ms 156.5MB 3790ms 60ms openjdk 23
dart 3-m.dart 1186ms 78ms 274.5MB 3443ms 107ms dart/exe 3.7.2
java 3-m.java 1433ms 34ms 179.4MB 4537ms 207ms openjdk/zgc 21
swift 2-m.swift 1615ms 163ms 74.5MB 5223ms 30ms swift 6.0.3
d 1-m.d 1908ms 47ms 49.5MB 5890ms 13ms dmd 2.110.0
python 3-m.py 2392ms 20ms 136.5MB 8183ms 333ms pypy 3.10.16
python 3-m.py 3088ms 5.8ms 34.3MB 11800ms 120ms pyston 3.8.12
python 3.py timeout 0.0ms 35.6MB 90ms 20ms cpython 3.13.2

Input: 250000_in

lang code time stddev peak-mem mem time(user) time(sys) compiler compiler/runtime
c 1-m.c 27ms 1.5ms 12.0MB 63ms 0ms gcc 14.2.0
rust 8-m.rs 30ms 1.9ms 16.0MB 60ms 0ms rustc 1.85.1
c 1-m.c 37ms 1.7ms 15.1MB 103ms 0ms clang 14.0.0-1ubuntu1.1
rust 8.rs 60ms 0.6ms 11.4MB 50ms 0ms rustc 1.85.1
zig 1.zig 69ms 3.3ms 15.4MB 53ms 0ms zig 0.14.0
csharp 6-m.cs 89ms 1.8ms 36.6MB 147ms 13ms dotnet/aot 9.0.202
d 1-m.d 95ms 16ms 39.8MB 263ms 13ms ldc2 1.40.1
chapel 3-m.chpl 119ms 1.7ms 88.9MB 207ms 3ms chpl 1.31.0
go 7-m.go 132ms 4.5ms 22.4MB 350ms 20ms go 1.24.1
csharp 6-m.cs 179ms 7.8ms 57.9MB 277ms 27ms dotnet 9.0.202
csharp 6-m.cs 194ms 1.2ms 50.4MB 380ms 17ms mono 6.12.0
d 1-m.d 204ms 5.0ms 42.0MB 630ms 7ms dmd 2.110.0
dart 3-m.dart 207ms 2.8ms 187.3MB 523ms 60ms dart/exe 3.7.2
swift 2-m.swift 259ms 0.7ms 59.9MB 673ms 27ms swift 6.0.3
java 3-m.java 331ms 17ms 101.3MB 940ms 47ms openjdk 21
java 3-m.java 335ms 14ms 140.0MB 907ms 60ms graal/jvm 17.0.8
java 3-m.java 346ms 6.0ms 90.5MB 1027ms 40ms openjdk 23
python 3-m.py 382ms 3.3ms 76.2MB 963ms 157ms pypy 3.10.16
python 3-m.py 394ms 3.7ms 14.2MB 1300ms 67ms pyston 3.8.12
java 3-m.java 444ms 4.7ms 98.6MB 927ms 177ms openjdk/zgc 21
python 3-m.py 644ms 5.9ms 15.1MB 2263ms 57ms cpython 3.13.2