All fasta problem benchmarks

Current benchmark data was generated on Fri Dec 09 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

lang code time stddev peak-mem mem time(user) time(sys) compiler compiler/runtime
chapel 5-m.chpl 133ms 2.8ms 24.1MB 220ms 3ms chpl 1.28.0
zig 1.zig 139ms 0.2ms 1.0MB 130ms 0ms zig 0.11.0-dev.632+d69e97ae1
rust 185ms 2.6ms 1.7MB 327ms 3ms rustc 1.67.0-nightly
rust 189ms 2.6ms 1.7MB 337ms 0ms rustc 1.65.0
go 3-m.go 207ms 1.0ms 2.9MB 373ms 0ms go 1.19.4
d 1.d 210ms 1.4ms 31.0MB 190ms 7ms ldc2 1.30.0
rust 215ms 1.0ms 1.0MB 203ms 0ms rustc 1.67.0-nightly
nim 2.nim 241ms 0.8ms 1.1MB 230ms 0ms nim 1.6.10
swift 3-m.swift 255ms 5.3ms 21.1MB 430ms 7ms swift 5.7.1
rust 264ms 1.5ms 1.0MB 253ms 0ms rustc 1.65.0
csharp 5-m.cs 307ms 11ms 85.0MB 493ms 77ms dotnet/aot 7.0.100
nim 2.nim 308ms 1.3ms 1.3MB 297ms 0ms nim/clang 1.6.10
wasm 325ms 0.4ms 14.9MB 313ms 0ms wasmedgec 0.11.2
ocaml 386ms 0.5ms 25.3MB 367ms 3ms ocaml 4.14.0
wasm 392ms 5.4ms 44.2MB 397ms 10ms node 16.18.1
wasm 438ms 0.9ms 9.4MB 417ms 3ms wasmtime 3.0.1
java 466ms 4.3ms 40.0MB 530ms 13ms openjdk 20
csharp 5-m.cs 472ms 28ms 167.4MB 700ms 117ms dotnet 7.0.100
java 475ms 4.8ms 43.5MB 527ms 20ms openjdk 19
v 1.v 482ms 2.8ms 2.0MB 467ms 0ms v/clang+gc 0.3.2
dart 1.dart 485ms 1.3ms 14.8MB 470ms 0ms dart/exe 2.18.5
v 1.v 513ms 2.8ms 1.9MB 493ms 3ms v/clang 0.3.2
java 513ms 7.9ms 39.8MB 540ms 57ms openjdk/zgc 19
java 542ms 7.1ms 103.4MB 800ms 30ms graal/jvm 17.0.5
csharp 5-m.cs 545ms 24ms 60.9MB 900ms 120ms mono 6.12.0
julia 7-m.jl 643ms 2.2ms 294.5MB 840ms 173ms julia 1.8.3
d 1.d 677ms 0.9ms 38.4MB 650ms 13ms dmd 2.101.0
nim 1.nim 689ms 0.5ms 1.3MB 583ms 87ms nim/clang 1.6.10
nim 1.nim 708ms 0.8ms 1.1MB 613ms 77ms nim 1.6.10
crystal 722ms 1.3ms 3.2MB 613ms 90ms crystal 1.6.2
crystal 949ms 1.6ms 14.6MB 830ms 100ms crystal 1.6.2
typescript 1.ts 2082ms 24ms 38.7MB 1980ms 100ms deno 1.28.3
ruby 6-m.rb 2708ms 5.6ms 358.2MB 4840ms 303ms truffleruby 22.3.0
python 2815ms 14ms 85.1MB 2773ms 20ms pypy 3.9.15
ruby 6.rb 2906ms 11ms 296.3MB 2740ms 150ms ruby/yjit 3.1.3
haxe 1.hx 3066ms 13ms 25.5MB 3033ms 220ms haxe/cpp 4.2.5
python 3333ms 29ms 12.8MB 4747ms 1223ms pyston 3.8.12
python 3912ms 11ms 7.9MB 3897ms 0ms pyston 3.8.12
python 3960ms 7.9ms 13.5MB 5677ms 1140ms cpython 3.11.1
python 4193ms 20ms 76.0MB 5597ms 1210ms pypy 3.9.15
perl 4421ms 96ms 10.9MB 4400ms 0ms perl 5.36.0
ruby 6.rb 4528ms 14ms 39.5MB 4490ms 20ms ruby 3.1.3
haxe 1.hx timeout 0.0ms 0.0MB 0ms 0ms haxe/hl/c 4.2.5
haxe 1.hx timeout 0.0ms 0.0MB 0ms 0ms haxe/hl/jit 1.13.0
python timeout 0.0ms 0.0MB 0ms 0ms cpython 3.11.1

Input: 250000

lang code time stddev peak-mem mem time(user) time(sys) compiler compiler/runtime
zig 1.zig 17ms 1.7ms 1.0MB 10ms 0ms zig 0.11.0-dev.632+d69e97ae1
rust 24ms 0.1ms 1.0MB 13ms 0ms rustc 1.67.0-nightly
d 1.d 25ms 1.3ms 7.5MB 13ms 0ms ldc2 1.30.0
rust 26ms 0.9ms 1.7MB 33ms 0ms rustc 1.67.0-nightly
nim 2.nim 27ms 0.5ms 1.0MB 20ms 0ms nim 1.6.10
chapel 5.chpl 27ms 0.8ms 24.1MB 20ms 7ms chpl 1.28.0
rust 27ms 0.8ms 1.7MB 30ms 3ms rustc 1.65.0
go 3.go 28ms 0.2ms 2.9MB 30ms 0ms go 1.19.4
rust 29ms 0.7ms 1.0MB 20ms 0ms rustc 1.65.0
nim 2.nim 32ms 0.1ms 1.2MB 23ms 0ms nim/clang 1.6.10
wasm 41ms 0.3ms 15.4MB 30ms 0ms wasmedgec 0.11.2
ocaml 42ms 0.7ms 7.6MB 33ms 0ms ocaml 4.14.0
swift 3.swift 48ms 3.0ms 14.6MB 47ms 0ms swift 5.7.1
wasm 50ms 1.2ms 9.5MB 40ms 0ms wasmtime 3.0.1
v 1.v 51ms 1.9ms 2.2MB 40ms 0ms v/clang+gc 0.3.2
csharp 5.cs 53ms 5.5ms 20.7MB 60ms 10ms dotnet/aot 7.0.100
v 1.v 56ms 1.6ms 2.2MB 40ms 0ms v/clang 0.3.2
d 1.d 72ms 0.7ms 10.9MB 60ms 0ms dmd 2.101.0
nim 1.nim 73ms 3.0ms 1.2MB 50ms 3ms nim/clang 1.6.10
nim 1.nim 73ms 0.9ms 1.0MB 57ms 3ms nim 1.6.10
crystal 75ms 0.6ms 3.2MB 63ms 3ms crystal 1.6.2
csharp 5.cs 98ms 9.0ms 36.3MB 117ms 30ms mono 6.12.0
crystal 99ms 0.4ms 4.5MB 80ms 10ms crystal 1.6.2
wasm 117ms 2.8ms 43.9MB 120ms 17ms node 16.18.1
csharp 5.cs 137ms 9.1ms 111.6MB 113ms 47ms dotnet 7.0.100
java 142ms 7.3ms 39.2MB 160ms 13ms openjdk 20
java 146ms 2.4ms 42.7MB 157ms 17ms openjdk 19
java 158ms 4.6ms 76.6MB 163ms 27ms graal/jvm 17.0.5
java 204ms 11ms 41.1MB 167ms 60ms openjdk/zgc 19
typescript 1.ts 244ms 6.0ms 39.0MB 240ms 7ms deno 1.28.3
haxe 1.hx 327ms 3.9ms 27.5MB 303ms 23ms haxe/cpp 4.2.5
python 350ms 1.8ms 73.9MB 317ms 17ms pypy 3.9.15
python 399ms 3.3ms 12.7MB 507ms 153ms pyston 3.8.12
python 409ms 1.9ms 8.0MB 393ms 0ms pyston 3.8.12
perl 443ms 1.2ms 6.7MB 427ms 0ms perl 5.36.0
python 462ms 0.8ms 13.5MB 600ms 143ms cpython 3.11.1
julia 7.jl 467ms 7.1ms 221.3MB 520ms 143ms julia 1.8.3
ruby 6.rb 521ms 1.0ms 31.0MB 497ms 10ms ruby 3.1.3
ruby 6.rb 528ms 2.0ms 287.8MB 370ms 140ms ruby/yjit 3.1.3
python 600ms 2.8ms 8.6MB 583ms 0ms cpython 3.11.1
python 766ms 2.2ms 76.1MB 820ms 450ms pypy 3.9.15
haxe 1.hx 780ms 1.4ms 3.3MB 713ms 50ms haxe/hl/c 4.2.5
haxe 1.hx 829ms 2.2ms 3.7MB 773ms 37ms haxe/hl/jit 1.13.0
ruby 6-m.rb 856ms 16ms 320.0MB 1433ms 140ms truffleruby 22.3.0
dart 1.dart 1059ms 1.4ms 16.6MB 43ms 0ms dart/exe 2.18.5