All Julia benchmarks

Current benchmark data was generated on Fri Dec 09 2022, full log can be found HERE

CONTRIBUTIONS are WELCOME!

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

helloworld

Input: QwQ

code time stddev peak-mem mem time(user) time(sys) compiler compiler/runtime
1.jl 201ms 6.9ms 165.3MB 106ms 104ms julia/aot 1.8.3
1.jl 212ms 1.0ms 173.1MB 124ms 100ms julia 1.8.3

nbody

Input: 5000000

code time stddev peak-mem mem time(user) time(sys) compiler compiler/runtime
7.jl 545ms 3.1ms 169.6MB 500ms 133ms julia/aot 1.8.3
7.jl 693ms 2.3ms 223.3MB 643ms 137ms julia 1.8.3

Input: 500000

code time stddev peak-mem mem time(user) time(sys) compiler compiler/runtime
7.jl 263ms 4.1ms 168.5MB 207ms 120ms julia/aot 1.8.3
7.jl 414ms 0.6ms 223.9MB 340ms 160ms julia 1.8.3

nsieve

Input: 12

code time stddev peak-mem mem time(user) time(sys) compiler compiler/runtime
1.jl 429ms 2.3ms 158.0MB 380ms 140ms julia/aot 1.8.3
1.jl 538ms 0.9ms 202.9MB 473ms 147ms julia 1.8.3

Input: 10

code time stddev peak-mem mem time(user) time(sys) compiler compiler/runtime
1.jl 242ms 17ms 148.2MB 173ms 103ms julia/aot 1.8.3
1.jl 344ms 2.5ms 196.9MB 293ms 137ms julia 1.8.3

binarytrees

Input: 18

code time stddev peak-mem mem time(user) time(sys) compiler compiler/runtime
4.jl 1190ms 11ms 243.4MB 1087ms 187ms julia 1.8.3

Input: 15

code time stddev peak-mem mem time(user) time(sys) compiler compiler/runtime
4.jl 332ms 2.0ms 223.2MB 263ms 153ms julia 1.8.3

fannkuch-redux

Input: 11

code time stddev peak-mem mem time(user) time(sys) compiler compiler/runtime
2-m.jl 1645ms 8.7ms 212.1MB 2813ms 150ms julia 1.8.3

Input: 10

code time stddev peak-mem mem time(user) time(sys) compiler compiler/runtime
2-m.jl 537ms 6.1ms 215.3MB 660ms 157ms julia 1.8.3

fasta

Input: 2500000

code time stddev peak-mem mem time(user) time(sys) compiler compiler/runtime
7-m.jl 643ms 2.2ms 294.5MB 840ms 173ms julia 1.8.3

Input: 250000

code time stddev peak-mem mem time(user) time(sys) compiler compiler/runtime
7.jl 467ms 7.1ms 221.3MB 520ms 143ms julia 1.8.3

knucleotide

Input: 2500000_in

code time stddev peak-mem mem time(user) time(sys) compiler compiler/runtime
8.jl 1144ms 4.2ms 271.7MB 1480ms 170ms julia 1.8.3

Input: 250000_in

code time stddev peak-mem mem time(user) time(sys) compiler compiler/runtime
8.jl 785ms 2.6ms 263.8MB 860ms 160ms julia 1.8.3

pidigits

Input: 8000

code time stddev peak-mem mem time(user) time(sys) compiler compiler/runtime
3.jl 708ms 3.9ms 177.5MB 643ms 143ms julia 1.8.3
1.jl 1449ms 9.5ms 258.9MB 1360ms 170ms julia 1.8.3

Input: 4000

code time stddev peak-mem mem time(user) time(sys) compiler compiler/runtime
3.jl 342ms 2.0ms 176.5MB 293ms 137ms julia 1.8.3
1.jl 842ms 35ms 259.4MB 723ms 187ms julia 1.8.3

spectral-norm

Input: 8000

code time stddev peak-mem mem time(user) time(sys) compiler compiler/runtime
2-m.jl 1211ms 3.0ms 192.9MB 2060ms 130ms julia 1.8.3
3-m.jl 2132ms 3.4ms 210.0MB 3813ms 150ms julia 1.8.3

Input: 4000

code time stddev peak-mem mem time(user) time(sys) compiler compiler/runtime
2-m.jl 555ms 0.4ms 194.2MB 763ms 137ms julia 1.8.3
3-m.jl 826ms 4.3ms 208.8MB 1240ms 147ms julia 1.8.3

Input: 2000

code time stddev peak-mem mem time(user) time(sys) compiler compiler/runtime
2.jl 393ms 2.4ms 194.2MB 433ms 143ms julia 1.8.3
3-m.jl 495ms 3.9ms 210.8MB 597ms 147ms julia 1.8.3