All fasta 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: 2500000

lang code time stddev peak-mem mem time(user) time(sys) compiler compiler/runtime
zig 1.zig 87ms 0.8ms 1.3MB 73ms 0ms zig 0.12.0-dev.2341+92211135f
rust 90ms 0.4ms 4.8MB 237ms 0ms rustc 1.77.0-nightly
rust 99ms 1.2ms 6.5MB 323ms 3ms rustc 1.75.0
chapel 5-m.chpl 111ms 1.0ms 32.4MB 193ms 0ms chpl 1.31.0
go 3-m.go 123ms 0.2ms 5.3MB 370ms 0ms go 1.21.6
csharp 5-m.cs 133ms 7.9ms 36.2MB 380ms 83ms dotnet/aot 8.0.101
rust 164ms 0.5ms 1.9MB 150ms 0ms rustc 1.77.0-nightly
nim 2.nim 188ms 3.5ms 1.5MB 177ms 0ms nim 2.0.2
d 1.d 194ms 1.3ms 33.3MB 177ms 3ms ldc2 1.36.0
csharp 5-m.cs 205ms 9.6ms 45.3MB 477ms 117ms dotnet 8.0.101
swift 3-m.swift 209ms 1.1ms 28.8MB 520ms 7ms swift 5.9.2
rust 223ms 0.3ms 1.9MB 210ms 0ms rustc 1.75.0
nim 2.nim 239ms 3.2ms 1.8MB 227ms 0ms nim/clang 2.0.2
csharp 5-m.cs 262ms 5.6ms 47.9MB 683ms 147ms mono 6.12.0
wasm 295ms 2.8ms 18.8MB 280ms 0ms wasmtime 17.0.0
wasm 317ms 2.4ms 50.0MB 310ms 7ms node 18.19.0
ocaml 345ms 0.3ms 22.7MB 330ms 3ms ocaml 5.1.1
dart 1.dart 369ms 1.2ms 8.5MB 357ms 0ms dart/exe 3.2.6
java 440ms 1.7ms 107.1MB 620ms 27ms graal/jvm 17.0.8
java 450ms 5.5ms 47.4MB 530ms 17ms openjdk 21
java 455ms 1.9ms 47.5MB 543ms 17ms openjdk 23
v 1.v 507ms 0.9ms 1.3MB 500ms 0ms v/clang 0.4.4
v 1.v 516ms 7.0ms 2.1MB 507ms 0ms v/clang+gc 0.4.4
crystal 530ms 2.1ms 3.8MB 430ms 83ms crystal 1.11.2
nim 1.nim 549ms 1.1ms 1.8MB 447ms 87ms nim/clang 2.0.2
java 565ms 1.6ms 45.1MB 533ms 133ms openjdk/zgc 21
nim 1.nim 573ms 0.7ms 1.5MB 463ms 90ms nim 2.0.2
d 1.d 612ms 2.2ms 38.6MB 590ms 7ms dmd 2.106.1
crystal 695ms 1.7ms 14.9MB 580ms 100ms crystal 1.11.2
ruby 6.rb 1457ms 11ms 39.1MB 1407ms 33ms ruby/yjit 3.3.0
python 1945ms 8.0ms 62.7MB 1917ms 10ms pypy 3.10.13
ruby 6-m.rb 2178ms 87ms 420.2MB 5517ms 327ms truffleruby 23.1.2
haxe 1.hx 2368ms 2.5ms 28.3MB 2300ms 187ms haxe/cpp 4.3.3
python 2465ms 14ms 12.4MB 3553ms 1027ms pyston 3.8.12
python 2926ms 14ms 63.1MB 4217ms 773ms pypy 3.10.13
typescript 1.ts 2930ms 24ms 60.1MB 2793ms 147ms deno 1.40.2
python 3002ms 24ms 8.1MB 2987ms 0ms pyston 3.8.12
python 3316ms 15ms 14.3MB 4393ms 993ms cpython 3.12.1
perl 3533ms 37ms 11.0MB 3517ms 0ms perl 5.38.2
ruby 6.rb 3794ms 10ms 37.6MB 3760ms 20ms ruby 3.3.0
python 4481ms 71ms 9.3MB 4473ms 0ms cpython 3.12.1
haxe 1.hx timeout 0.0ms 5.2MB 4343ms 843ms haxe/hl/c 4.3.3
haxe 1.hx timeout 0.0ms 5.7MB 4357ms 867ms haxe/hl/jit 1.14.0

Input: 250000

lang code time stddev peak-mem mem time(user) time(sys) compiler compiler/runtime
zig 1.zig 11ms 0.8ms 1.3MB 0ms 0ms zig 0.12.0-dev.2341+92211135f
rust 16ms 0.3ms 6.5MB 20ms 0ms rustc 1.77.0-nightly
go 3-m.go 17ms 0.4ms 5.3MB 30ms 0ms go 1.21.6
rust 17ms 0.2ms 6.4MB 30ms 0ms rustc 1.75.0
rust 19ms 0.5ms 1.9MB 10ms 0ms rustc 1.77.0-nightly
nim 2.nim 20ms 0.4ms 1.5MB 10ms 0ms nim 2.0.2
d 1.d 25ms 1.1ms 10.3MB 20ms 0ms ldc2 1.36.0
rust 25ms 0.7ms 1.9MB 17ms 0ms rustc 1.75.0
nim 2.nim 26ms 0.6ms 1.6MB 20ms 0ms nim/clang 2.0.2
chapel 5.chpl 29ms 0.6ms 32.4MB 23ms 3ms chpl 1.31.0
csharp 5-m.cs 34ms 1.8ms 27.0MB 50ms 27ms dotnet/aot 8.0.101
wasm 38ms 0.5ms 18.9MB 23ms 0ms wasmtime 17.0.0
ocaml 39ms 0.7ms 5.4MB 27ms 0ms ocaml 5.1.1
dart 1.dart 44ms 0.7ms 8.5MB 30ms 0ms dart/exe 3.2.6
swift 3.swift 45ms 0.5ms 18.4MB 43ms 0ms swift 5.9.2
v 1.v 54ms 2.2ms 1.3MB 43ms 0ms v/clang 0.4.4
v 1.v 55ms 1.7ms 2.1MB 43ms 0ms v/clang+gc 0.4.4
crystal 57ms 1.0ms 3.6MB 40ms 3ms crystal 1.11.2
nim 1.nim 58ms 0.6ms 1.8MB 43ms 0ms nim/clang 2.0.2
nim 1.nim 61ms 1.0ms 1.5MB 43ms 7ms nim 2.0.2
d 1.d 65ms 0.2ms 12.3MB 57ms 0ms dmd 2.106.1
wasm 67ms 0.8ms 50.5MB 63ms 7ms node 18.19.0
crystal 74ms 1.2ms 4.8MB 57ms 3ms crystal 1.11.2
csharp 5-m.cs 85ms 10ms 42.7MB 110ms 30ms mono 6.12.0
csharp 5.cs 86ms 6.4ms 42.0MB 83ms 20ms dotnet 8.0.101
java 119ms 4.0ms 46.5MB 167ms 7ms openjdk 23
java 124ms 1.1ms 46.2MB 157ms 23ms openjdk 21
java 144ms 8.0ms 99.7MB 213ms 30ms graal/jvm 17.0.8
ruby 6.rb 223ms 11ms 30.4MB 190ms 17ms ruby/yjit 3.3.0
java 242ms 5.6ms 43.9MB 167ms 133ms openjdk/zgc 21
haxe 1.hx 254ms 1.8ms 28.0MB 230ms 23ms haxe/cpp 4.3.3
python 267ms 4.6ms 61.3MB 240ms 7ms pypy 3.10.13
python 314ms 12ms 12.5MB 407ms 147ms pyston 3.8.12
python 316ms 1.5ms 8.1MB 303ms 3ms pyston 3.8.12
typescript 1.ts 328ms 1.0ms 59.5MB 313ms 27ms deno 1.40.2
perl 366ms 12ms 6.6MB 353ms 0ms perl 5.38.2
python 401ms 1.6ms 14.3MB 463ms 167ms cpython 3.12.1
ruby 6.rb 445ms 0.8ms 30.0MB 407ms 23ms ruby 3.3.0
python 469ms 14ms 9.3MB 457ms 0ms cpython 3.12.1
haxe 1.hx 653ms 1.5ms 5.4MB 547ms 117ms haxe/hl/c 4.3.3
python 657ms 11ms 63.1MB 880ms 367ms pypy 3.10.13
haxe 1.hx 673ms 1.7ms 5.8MB 577ms 113ms haxe/hl/jit 1.14.0
ruby 6-m.rb 835ms 23ms 372.2MB 2033ms 187ms truffleruby 23.1.2