The Computer Language
24.11 Benchmarks Game

Chapel versus Intel Fortran 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
Chapel #2 9.34 19,436 737 37.22
Intel Fortran #3 9.78 19,648 1164 39.00
Intel Fortran 40.33 19,648 608 40.33
n-body
source secs mem gz cpu secs
Intel Fortran #5 3.39 19,648 1669 3.39
Chapel #3 3.86 19,436 983 3.87
Chapel #4 4.34 19,436 1027 4.34
Intel Fortran #2 4.46 19,776 1507 4.46
Intel Fortran 4.55 19,648 1400 4.55
Intel Fortran #3 4.71 19,648 1311 4.71
Intel Fortran #6 5.01 19,648 1530 5.01
Chapel #2 5.67 19,436 977 5.67
Intel Fortran #4   Bad Output  
spectral-norm
source secs mem gz cpu secs
Intel Fortran #2 2.67 19,648 520 2.66
Chapel #2 0.73 19,436 348 2.88
Intel Fortran #3 0.73 19,648 644 2.88
Chapel 1.46 19,436 322 5.79
mandelbrot
source secs mem gz cpu secs
Chapel #3 1.29 37,760 582 5.12
Intel Fortran #6 2.71 79,488 669 8.55
Intel Fortran #7 4.08 79,508 965 16.18
Intel Fortran #4 9.85 79,744 626 25.23
Chapel 6.63 37,632 447 26.46
Intel Fortran #5 32.58 43,648 528 32.58
fasta
source secs mem gz cpu secs
Chapel #6 0.79 19,436 1108 0.80
Intel Fortran #4 1.34 19,648 1355 1.34
Chapel #5 1.03 19,436 1391 3.78
Chapel #3 4.02 19,436 1219 4.03
Intel Fortran 5.83 19,648 1193 5.83
Intel Fortran #3 6.19 19,648 1217 6.19
k-nucleotide
source secs mem gz cpu secs
Chapel #4 4.97 191,872 1071 17.19
Chapel #3 5.89 192,000 1040 20.88
Intel Fortran   Make Error  
reverse-complement
source secs mem gz cpu secs
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
Intel Fortran 3.33 986,304 1026 3.33
Intel Fortran #2 42.90 769,748 778 42.89
binary-trees
source secs mem gz cpu secs
Intel Fortran #2 2.22 140,544 1155 6.86
Chapel #5 2.04 1,775,616 646 7.28
Chapel #3 8.47 300,672 494 25.56
Chapel #4 7.11 477,824 489 26.09
Intel Fortran 32.59 525,824 780 32.59
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
Intel Fortran #4 0.88 19,648 987 0.88
regex-redux
source secs mem gz cpu secs
Intel Fortran 0.96 179,724 2229 3.09
Chapel #3 3.03 404,608 503 3.96
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.

Intel Fortran

ifx (IFX)
2024.1.0 20240308