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
* Julia #3 9.33 248,484 896 35.56
Chapel #2 9.34 19,436 737 37.22
Julia 42.59 226,292 441 42.67
n-body
source secs mem gz cpu secs
Julia #5 3.67 261,584 1129 3.77
Chapel #3 3.86 19,436 983 3.87
Chapel #4 4.34 19,436 1027 4.34
Chapel #2 5.67 19,436 977 5.67
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,436 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,436 322 5.79
mandelbrot
source secs mem gz cpu secs
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
Chapel #3 1.29 37,760 582 5.12
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.63 37,632 447 26.46
Julia 26.55 254,964 379 26.63
fasta
source secs mem gz cpu secs
Chapel #6 0.79 19,436 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 1.03 19,436 1391 3.78
Chapel #3 4.02 19,436 1219 4.03
* 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 4.97 191,872 1071 17.19
Chapel #3 5.89 192,000 1040 20.88
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.92 1,057,024 1260 2.65
Chapel #5 1.83 2,133,376 554 3.18
Chapel #3 1.81 2,121,216 709 3.18
Julia #2 29.29 1,951,468 464 29.83
binary-trees
source secs mem gz cpu secs
Chapel #5 2.04 1,775,616 646 7.28
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.47 300,672 494 25.56
Chapel #4 7.11 477,824 489 26.09
Julia #5 17.97 482,024 396 57.53
pidigits
source secs mem gz cpu secs
* Chapel #4 0.75 19,436 515 0.76
Chapel #2 0.76 19,436 423 0.76
* Julia #3 1.04 223,936 512 1.18
* Julia #2 1.14 232,460 686 1.26
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.03 404,608 503 3.96
Julia 4.10 606,148 414 4.24
Chapel #2 3.53 404,608 498 4.47
Chapel

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

Julia

julia version 1.11.1