All fasta problem benchmarks

Current benchmark data was generated on Fri Jul 01 2022, full log can be found HERE

CONTRIBUTIONS are WELCOME!

[x86_64][2 cores] Intel(R) Xeon(R) Platinum 8171M 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.)

fasta

Input: 2500000

lang code time stddev peak-mem mem time(user) time(sys) compiler compiler/runtime
zig 1.zig 166ms 0.5ms 0.0MB 150ms 0ms zig 0.10.0-dev.2820+48fd92365
chapel 5-m.chpl 170ms 3.2ms 32.0MB 280ms 7ms chpl 1.27.0
rust 5-m.rs 227ms 3.7ms 1.3MB 407ms 0ms rustc 1.62.0
rust 5c-m.rs 230ms 12ms 1.3MB 400ms 3ms rustc 1.64.0-nightly
go 3-m.go 258ms 3.5ms 2.9MB 463ms 0ms go 1.18.3
rust 1c.rs 264ms 2.8ms 0.7MB 257ms 0ms rustc 1.64.0-nightly
nim 2.nim 307ms 9.7ms 0.7MB 293ms 0ms nim 1.6.6
rust 1.rs 319ms 2.0ms 0.6MB 307ms 0ms rustc 1.62.0
swift 3-m.swift 322ms 13ms 21.0MB 533ms 10ms swift 5.6.2
nim 2.nim 359ms 1.6ms 1.0MB 347ms 0ms nim/clang 1.6.6
wasm 1.rs 369ms 3.0ms 5.3MB 353ms 0ms wasmedgec 0.10.0
wasm 1.rs 378ms 6.3ms 6.0MB 360ms 0ms wasmer/llvm 2.3.0
wasm 1.rs 383ms 3.2ms 10.5MB 370ms 0ms wasmtime 0.38.1
csharp 5-m.cs 437ms 29ms 73.6MB 630ms 130ms dotnet 6.0.301
ocaml 6.ml 470ms 2.4ms 25.7MB 447ms 3ms ocaml 4.14.0
wasm 1.rs 515ms 14ms 43.0MB 530ms 13ms node 16.15.1
java 4.java 554ms 3.9ms 41.7MB 623ms 23ms openjdk 19
java 4.java 565ms 14ms 38.5MB 640ms 23ms openjdk 18.0.1
dart 1.dart 583ms 6.0ms 19.9MB 563ms 3ms dart/exe 2.17.5
java 4.java 615ms 15ms 42.6MB 630ms 70ms openjdk/zgc 18.0.1
v 1.v 631ms 8.2ms 2.3MB 623ms 0ms v/clang+gc 0.3.0
v 1.v 632ms 2.2ms 2.2MB 617ms 0ms v/clang 0.3.0
csharp 5-m.cs 639ms 6.1ms 67.1MB 1073ms 130ms mono 6.12.0
julia 7-m.jl 837ms 3.5ms 289.0MB 1110ms 187ms julia 1.7.3
nim 1.nim 861ms 3.3ms 0.7MB 750ms 93ms nim 1.6.6
nim 1.nim 885ms 2.5ms 1.0MB 773ms 93ms nim/clang 1.6.6
crystal 2.cr 957ms 9.8ms 3.6MB 850ms 97ms crystal 1.4.1
java 4.java 971ms 6.9ms 123.5MB 997ms 73ms graal/jvm 17.0.3
crystal 1.cr 1225ms 7.0ms 16.5MB 1080ms 123ms crystal 1.4.1
python 1.py 3431ms 58ms 89.0MB 3370ms 47ms pypy 3.8.13
ruby 6.rb 3568ms 38ms 295.9MB 3367ms 180ms ruby/yjit 3.1.2
haxe 1.hx 3855ms 29ms 27.6MB 3967ms 293ms haxe/cpp 4.2.4
python 5-m.py 4212ms 97ms 12.6MB 6103ms 1417ms pyston 3.8.12
python 1.py 4861ms 20ms 7.8MB 4843ms 0ms pyston 3.8.12
haxe 1.hx timeout 0.0ms 0.0MB 0ms 0ms haxe/hl/c 4.2.4
haxe 1.hx timeout 0.0ms 0.0MB 0ms 0ms haxe/hl/jit 1.12.0
perl 1.pl timeout 0.0ms 0.0MB 0ms 0ms perl 5.36.0
python 1.py timeout 0.0ms 0.0MB 0ms 0ms cpython 3.10.5
python 5-m.py timeout 0.0ms 0.0MB 0ms 0ms cpython 3.10.5
python 5-m.py timeout 0.0ms 0.0MB 0ms 0ms pypy 3.8.13
ruby 6.rb timeout 0.0ms 0.0MB 0ms 0ms ruby 3.1.2
ruby 6.rb timeout 0.0ms 0.0MB 0ms 0ms truffleruby 22.1.0
typescript 1.ts timeout 0.0ms 0.0MB 0ms 0ms deno 1.23.2

Input: 250000

lang code time stddev peak-mem mem time(user) time(sys) compiler compiler/runtime
zig 1.zig 20ms 1.3ms 0.0MB 10ms 0ms zig 0.10.0-dev.2820+48fd92365
rust 1c.rs 33ms 2.9ms 0.7MB 17ms 0ms rustc 1.64.0-nightly
go 3.go 33ms 0.8ms 2.9MB 40ms 0ms go 1.18.3
nim 2.nim 33ms 0.6ms 0.7MB 23ms 0ms nim 1.6.6
rust 5c-m.rs 34ms 0.6ms 1.3MB 43ms 0ms rustc 1.64.0-nightly
rust 5-m.rs 35ms 2.5ms 1.3MB 40ms 0ms rustc 1.62.0
rust 1.rs 35ms 0.6ms 0.6MB 23ms 0ms rustc 1.62.0
chapel 5.chpl 36ms 2.2ms 32.0MB 27ms 10ms chpl 1.27.0
nim 2.nim 39ms 0.3ms 1.0MB 30ms 0ms nim/clang 1.6.6
wasm 1.rs 43ms 2.0ms 5.3MB 30ms 0ms wasmedgec 0.10.0
wasm 1.rs 48ms 2.4ms 9.3MB 33ms 0ms wasmtime 0.38.1
wasm 1.rs 51ms 11ms 6.0MB 33ms 0ms wasmer/llvm 2.3.0
ocaml 6.ml 56ms 1.6ms 5.8MB 43ms 0ms ocaml 4.14.0
swift 3.swift 58ms 2.1ms 14.5MB 50ms 7ms swift 5.6.2
v 1.v 67ms 2.3ms 2.2MB 60ms 0ms v/clang 0.3.0
dart 1.dart 68ms 0.7ms 14.0MB 60ms 0ms dart/exe 2.17.5
v 1.v 69ms 2.0ms 2.2MB 57ms 0ms v/clang+gc 0.3.0
nim 1.nim 89ms 0.2ms 0.7MB 63ms 10ms nim 1.6.6
nim 1.nim 103ms 4.4ms 0.9MB 73ms 13ms nim/clang 1.6.6
crystal 2.cr 103ms 2.8ms 3.6MB 70ms 13ms crystal 1.4.1
csharp 5-m.cs 112ms 3.7ms 36.3MB 133ms 40ms mono 6.12.0
csharp 5.cs 124ms 5.1ms 42.7MB 97ms 50ms dotnet 6.0.301
crystal 1.cr 128ms 0.7ms 4.6MB 103ms 7ms crystal 1.4.1
wasm 1.rs 141ms 1.9ms 42.8MB 150ms 20ms node 16.15.1
java 4.java 168ms 8.4ms 43.1MB 207ms 17ms openjdk 19
java 4.java 178ms 16ms 38.3MB 207ms 23ms openjdk 18.0.1
java 4.java 219ms 3.4ms 38.4MB 197ms 70ms openjdk/zgc 18.0.1
haxe 1.hx 405ms 4.4ms 27.3MB 383ms 37ms haxe/cpp 4.2.4
python 1.py 461ms 0.2ms 75.4MB 427ms 13ms pypy 3.8.13
java 4.java 494ms 15ms 85.6MB 220ms 43ms graal/jvm 17.0.3
python 1.py 502ms 2.6ms 7.8MB 490ms 0ms pyston 3.8.12
python 5-m.py 520ms 3.2ms 12.6MB 680ms 187ms pyston 3.8.12
perl 1.pl 540ms 23ms 6.9MB 527ms 0ms perl 5.36.0
typescript 1.ts 584ms 8.7ms 45.9MB 560ms 35ms deno 1.23.2
julia 7.jl 610ms 8.6ms 217.1MB 730ms 163ms julia 1.7.3
ruby 6.rb 626ms 0.5ms 31.2MB 590ms 17ms ruby 3.1.2
ruby 6.rb 652ms 6.3ms 287.7MB 460ms 173ms ruby/yjit 3.1.2
python 5-m.py 668ms 15ms 12.1MB 890ms 197ms cpython 3.10.5
python 1.py 854ms 14ms 7.7MB 840ms 0ms cpython 3.10.5
haxe 1.hx 1015ms 12ms 3.3MB 910ms 87ms haxe/hl/c 4.2.4
python 5-m.py 1035ms 8.9ms 78.8MB 1207ms 523ms pypy 3.8.13
haxe 1.hx 1055ms 0.4ms 3.9MB 983ms 50ms haxe/hl/jit 1.12.0
ruby 6-m.rb 2027ms 16ms 365.4MB 3610ms 177ms truffleruby 22.1.0