The Computer Language
25.02 Benchmarks Game

Chapel versus Intel Fortran

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
  elapsed       Mean or 95% CI
source secs mem gz make cpu secs
Chapel #2 8.48 9,699 737 21.01 33.63—33.69
Intel Fortran #3 9.67 12,128 1164 5.02 38.56
Intel Fortran 40.21 2,179 608 3.95 40.21
n-body
  elapsed       Mean or 95% CI
source secs mem gz make cpu secs
Intel Fortran #5 3.39 2,146 1669 4.48 3.40
Chapel #3 3.61 9,720 983 20.46 3.58
Intel Fortran #2 4.46 2,146 1507 4.33 4.42—4.69
Intel Fortran 4.55 2,142 1400 4.41 4.55
Chapel #4 4.68 9,568 1027 20.35 4.66
Intel Fortran #3 4.72 2,154 1311 4.43 4.69—4.82
Intel Fortran #6 4.99 2,052 1530 4.43 4.64—6.08
Chapel #2 5.74 9,929 977 20.76 5.72
Intel Fortran #4   Bad Output  
spectral-norm
  elapsed       Mean or 95% CI
source secs mem gz make cpu secs
Intel Fortran #2 2.67 2,331 520 5.05 2.67
Intel Fortran #3 0.72 5,214 644 4.80 2.88—2.92
Chapel #2 0.79 9,916 348 20.86 2.91
Chapel 1.50 10,109 322 20.65 5.78
mandelbrot
  elapsed       Mean or 95% CI
source secs mem gz make cpu secs
Chapel #3 1.18 42,295 582 21.29 4.52
Intel Fortran #6 2.72 85,975 669 4.13 8.55
Intel Fortran #7 4.09 85,639 965 5.17 16.19
Intel Fortran #4 9.89 86,360 626 3.95 25.29—25.33
Chapel 6.68 41,964 447 20.87 26.49
Intel Fortran #5 32.66 47,174 528 3.72 32.67
fasta
  elapsed       Mean or 95% CI
source secs mem gz make cpu secs
Chapel #6 0.84 10,310 1108 21.24 0.81
Intel Fortran #4 1.36 2,142 1355 4.44 1.37
Chapel #5 1.01 11,284 1391 22.88 3.54—3.60
Chapel #3 4.07 9,597 1219 22.91 4.05
Intel Fortran 6.01 2,146 1193 4.34 6.05—6.11
Intel Fortran #3 6.53 2,142 1217 4.47 6.57—6.65
k-nucleotide
  elapsed       Mean or 95% CI
source secs mem gz make cpu secs
Chapel #4 5.02 197,980 1074 28.32 16.99—17.77
Chapel #3 5.99 190,841 1044 28.35 20.72—21.61
Intel Fortran   Empty  
reverse-complement
  elapsed       Mean or 95% CI
source secs mem gz make cpu secs
Chapel #9 1.00 1,087,742 1260 21.34 2.82—2.88
Chapel #5 1.83 1,442,632 554 20.72 3.23—3.45
Chapel #3 1.84 1,669,767 709 20.76 3.27—3.41
Intel Fortran 3.35 1,012,519 1026 4.53 3.36
Intel Fortran #2 45.22 790,307 778 4.10 45.34—45.58
binary-trees
  elapsed       Mean or 95% CI
source secs mem gz make cpu secs
Intel Fortran #2 2.24 148,124 1155 4.32 6.89—7.00
Chapel #5 2.06 1,825,448 646 19.88 7.24
Chapel #3 8.61 314,032 494 20.69 26.00—26.04
Chapel #4 7.29 495,673 489 20.08 26.60—26.71
Intel Fortran 32.74 540,066 780 3.98 32.78—32.88
pidigits
  elapsed       Mean or 95% CI
source secs mem gz make cpu secs
Intel Fortran #4 0.74 6,590 987 3.94 0.74
* Chapel #4 0.80 11,416 515 19.88 0.78
Chapel #2 0.80 11,543 423 20.04 0.78
regex-redux
  elapsed       Mean or 95% CI
source secs mem gz make cpu secs
Intel Fortran 0.98 189,305 2229 4.80 3.11—3.15
Chapel #3 3.17 392,372 503 22.24 4.07—4.13
Chapel #2 3.58 391,442 498 21.16 4.51
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.

Intel Fortran

ifx (IFX)
2024.1.0 20240308