The Computer Language
22.05 Benchmarks Game

Fastest cpu secs Chapel versus Julia

Always look at the source code.

If the fastest programs are hand-written vector instructions, does the host language matter? You might be more interested in the less optimised programs — more cpu seconds, less gz source code.

fannkuch-redux
source mem gz cpu
Julia #2 211,980 1067 29.46
Julia #3 204,120 886 31.21
Chapel #2 5,400 731 32.12
Julia 181,932 434 44.01
n-body
source mem gz cpu
Julia #8 225,844 1111 4.49
Chapel #3 5,496 960 5.53
Julia #4 202,592 1155 5.95
Julia #3 207,868 1541 7.05
Chapel #2 5,516 971 7.16
Julia #2 268,512 1078 24.49
spectral-norm
source mem gz cpu
Chapel #2 5,560 335 2.88
Julia #4 188,696 429 3.72
Julia #2 200,160 370 5.12
Chapel 5,560 310 5.77
mandelbrot
source mem gz cpu
Julia #7 236,644 619 5.08
Julia #8 236,112 624 5.24
Julia #6 253,220 562 5.87
Julia #5 272,904 571 5.94
Julia #4 257,796 574 7.69
Julia #3 273,584 579 7.77
Chapel #3 36,184 591 8.80
Chapel 36,128 460 26.37
Julia 210,712 373 27.06
pidigits
source mem gz cpu
Chapel #2 7,588 423 0.76
Chapel #4 7,452 512 0.77
Julia #3 179,360 506 1.24
Julia #2 190,376 674 1.34
Julia 265,496 275 2.15
regex-redux
source mem gz cpu
Julia #5 403,608 759 3.12
Julia #4 410,768 766 3.19
Julia #3 502,440 622 3.68
Julia 380,060 408 3.88
Chapel #3 502,984 492 4.60
Chapel #2 502,264 489 5.52
fasta
source mem gz cpu
Chapel #6 5,524 1104 0.80
Julia #8 198,752 1082 1.40
Julia #5 219,876 950 2.89
Julia #4 203,872 1049 3.12
Chapel #5 6,320 1391 3.46
Chapel #3 5,316 1229 4.12
Julia #7 459,380 1182 4.92
Julia #6 407,228 1203 5.54
Julia #3 237,412 896 27.78
k-nucleotide
source mem gz cpu
Julia #8 366,728 951 11.31
Julia #7 370,872 1368 18.12
Chapel #4 184,520 1031 20.19
Chapel #3 179,556 1007 24.26
Julia 1,962,152 695 196.54
reverse-complement
source mem gz cpu
Julia #8 683,748 522 1.71
Julia #9 681,000 449 1.95
Chapel #3 1,883,644 755 3.03
Chapel #2 1,053,240 983 3.44
Julia #2 1,742,028 460 32.14
binary-trees
source mem gz cpu
Chapel #3 299,452 488 24.33
Julia #2 600,804 423 37.16
Julia #4 495,284 372 47.16
Julia #3 608,728 634 48.85
Julia #5 665,480 390 79.14
Chapel

chpl version 1.26.0
built with LLVM version 13.0.1
Copyright 2020-2022
Hewlett Packard Enterprise Development LP
Copyright 2004-2019 Cray Inc.

Julia

julia version 1.7.2