The Computer Language
24.11 Benchmarks Game

Chapel versus Julia fastest performance

How the programs are written matters! 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 seconds, less gz source code.

fannkuch-redux
source secs mem gz cpu secs
* Julia #2 8.49 251,248 1077 31.91
Chapel #2 8.42 19,620 737 33.54
* Julia #3 9.33 248,484 896 35.56
Julia 42.59 226,292 441 42.67
n-body
source secs mem gz cpu secs
Chapel #3 3.56 19,620 983 3.57
Julia #5 3.67 261,584 1129 3.77
Chapel #4 4.64 19,620 1027 4.64
Chapel #2 5.69 19,620 977 5.70
Julia #4 6.48 263,596 1168 6.57
Julia #3 6.92 264,476 1548 7.01
Julia #2 28.72 278,196 1084 28.92
spectral-norm
source secs mem gz cpu secs
Chapel #2 0.73 19,620 348 2.88
Julia #4 1.18 232,768 435 3.66
Julia #2 1.76 261,124 377 4.80
Chapel 1.46 19,620 322 5.77
mandelbrot
source secs mem gz cpu secs
Chapel #3 1.14 37,780 582 4.51
Julia #7 1.41 273,748 629 4.79
Julia #2 1.44 272,612 634 4.88
Julia #3 1.50 291,868 589 5.11
Julia #4 1.96 283,940 583 5.12
Julia #5 1.63 296,828 580 5.76
Julia #6 2.12 289,896 571 5.80
Chapel 6.64 37,820 447 26.47
Julia 26.55 254,964 379 26.63
fasta
source secs mem gz cpu secs
Chapel #6 0.79 19,620 1108 0.80
Julia #2 1.17 234,156 1094 1.25
Julia #5 2.57 250,416 957 2.66
Julia #4 2.62 236,892 1053 2.72
Chapel #5 0.97 19,620 1391 3.53
Chapel #3 4.03 19,620 1219 4.04
* Julia #6 2.12 353,084 1213 4.86
* Julia #7 1.87 348,656 1189 5.33
Julia #3 11.61 234,416 901 11.70
k-nucleotide
source secs mem gz cpu secs
Julia #6 6.03 429,688 965 14.32
Chapel #4 5.15 202,548 1074 17.53
Chapel #3 6.14 203,208 1044 21.26
Julia #7 8.87 479,756 1379 22.94
Julia 132.60 1,558,404 703 132.21
reverse-complement
source secs mem gz cpu secs
Julia #7 1.65 1,024,148 531 1.76
Julia #9 2.00 1,220,680 456 2.11
Chapel #9 0.98 1,057,244 1260 2.81
Chapel #3 1.69 2,133,608 709 3.07
Chapel #5 1.93 1,905,304 554 3.28
Julia #2 29.29 1,951,468 464 29.83
binary-trees
source secs mem gz cpu secs
Chapel #5 2.04 1,775,900 646 7.26
Julia #4 10.32 443,600 378 11.22
Julia #2 11.38 441,140 430 12.44
Julia #3 7.08 486,976 640 19.44
Chapel #3 8.57 303,104 494 25.97
Chapel #4 7.22 480,044 489 26.54
Julia #5 17.97 482,024 396 57.53
pidigits
source secs mem gz cpu secs
Chapel #2 0.75 19,620 423 0.76
* Chapel #4 0.76 19,620 515 0.76
* Julia #3 1.04 223,936 512 1.18
* Julia #2 1.14 232,460 686 1.26
Julia #4 2.70 290,468 531 2.83
regex-redux
source secs mem gz cpu secs
* Julia #5 1.80 431,004 766 3.12
* Julia #4 1.89 433,140 772 3.22
* Julia #3 2.07 578,576 630 3.51
Chapel #3 3.11 404,924 503 4.05
Julia 4.10 606,148 414 4.24
Chapel #2 3.54 405,032 498 4.48
Chapel

chpl version 2.3.0
built with LLVM version 19.1.1
Copyright 2020-2024
Hewlett Packard Enterprise Development LP
Copyright 2004-2019 Cray Inc.

Julia

julia version 1.11.1