All Julia benchmarks

Current benchmark data was generated on Wed Mar 22 2023, full log can be found HERE

CONTRIBUTIONS are WELCOME!

[x86_64][2 cores] Intel(R) Xeon(R) Platinum 8370C CPU @ 2.80GHz (Model 106)

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

helloworld

Input: QwQ

code time stddev peak-mem mem time(user) time(sys) compiler compiler/runtime
1.jl 186ms 5.4ms 162.6MB 114ms 78ms julia/aot 1.8.5
1.jl 202ms 1.1ms 171.2MB 130ms 88ms julia 1.8.5

nbody

Input: 5000000

code time stddev peak-mem mem time(user) time(sys) compiler compiler/runtime
7.jl 552ms 0.4ms 169.2MB 517ms 113ms julia/aot 1.8.5
7.jl 721ms 4.4ms 225.5MB 673ms 123ms julia 1.8.5

Input: 500000

code time stddev peak-mem mem time(user) time(sys) compiler compiler/runtime
7.jl 251ms 6.2ms 169.1MB 220ms 100ms julia/aot 1.8.5
7.jl 409ms 5.2ms 223.7MB 363ms 123ms julia 1.8.5

nsieve

Input: 12

code time stddev peak-mem mem time(user) time(sys) compiler compiler/runtime
1.jl 430ms 0.9ms 157.1MB 393ms 117ms julia/aot 1.8.5
1.jl 554ms 5.5ms 203.1MB 500ms 127ms julia 1.8.5

Input: 10

code time stddev peak-mem mem time(user) time(sys) compiler compiler/runtime
1.jl 224ms 2.4ms 149.9MB 167ms 100ms julia/aot 1.8.5
1.jl 349ms 5.9ms 197.4MB 293ms 130ms julia 1.8.5

binarytrees

Input: 18

code time stddev peak-mem mem time(user) time(sys) compiler compiler/runtime
4.jl 1130ms 3.0ms 240.0MB 1063ms 140ms julia 1.8.5

Input: 15

code time stddev peak-mem mem time(user) time(sys) compiler compiler/runtime
4.jl 315ms 3.3ms 221.3MB 250ms 137ms julia 1.8.5

fannkuch-redux

Input: 11

code time stddev peak-mem mem time(user) time(sys) compiler compiler/runtime
2-m.jl 1801ms 9.4ms 211.3MB 3113ms 147ms julia 1.8.5

Input: 10

code time stddev peak-mem mem time(user) time(sys) compiler compiler/runtime
2-m.jl 554ms 3.7ms 211.0MB 717ms 123ms julia 1.8.5

fasta

Input: 2500000

code time stddev peak-mem mem time(user) time(sys) compiler compiler/runtime
7-m.jl 660ms 6.7ms 299.3MB 900ms 147ms julia 1.8.5

Input: 250000

code time stddev peak-mem mem time(user) time(sys) compiler compiler/runtime
7-m.jl 477ms 3.7ms 225.2MB 583ms 133ms julia 1.8.5

knucleotide

Input: 2500000_in

code time stddev peak-mem mem time(user) time(sys) compiler compiler/runtime
8.jl 1177ms 5.4ms 271.4MB 1547ms 153ms julia 1.8.5

Input: 250000_in

code time stddev peak-mem mem time(user) time(sys) compiler compiler/runtime
8.jl 819ms 8.0ms 252.1MB 910ms 140ms julia 1.8.5

pidigits

Input: 8000

code time stddev peak-mem mem time(user) time(sys) compiler compiler/runtime
3.jl 795ms 1.7ms 173.5MB 763ms 110ms julia 1.8.5
1.jl 1508ms 9.3ms 262.6MB 1417ms 170ms julia 1.8.5

Input: 4000

code time stddev peak-mem mem time(user) time(sys) compiler compiler/runtime
3.jl 355ms 5.7ms 175.8MB 303ms 127ms julia 1.8.5
1.jl 849ms 34ms 260.6MB 737ms 167ms julia 1.8.5

spectral-norm

Input: 8000

code time stddev peak-mem mem time(user) time(sys) compiler compiler/runtime
2-m.jl 1382ms 2.8ms 194.0MB 2427ms 113ms julia 1.8.5
3-m.jl 2140ms 3.3ms 212.6MB 3827ms 133ms julia 1.8.5

Input: 4000

code time stddev peak-mem mem time(user) time(sys) compiler compiler/runtime
2-m.jl 591ms 1.9ms 194.2MB 863ms 120ms julia 1.8.5
3-m.jl 821ms 3.0ms 210.9MB 1257ms 117ms julia 1.8.5

Input: 2000

code time stddev peak-mem mem time(user) time(sys) compiler compiler/runtime
2-m.jl 396ms 1.5ms 192.1MB 490ms 117ms julia 1.8.5
3.jl 498ms 5.4ms 209.3MB 607ms 130ms julia 1.8.5