The Computer Language
25.03 Benchmarks Game

Chapel versus Intel Fortran

How the programs are written matters! Always look at the source code.

If the fastest programs are flagged * possible hand-written vector instructions or "unsafe" or naked ffi, 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 cpu secs mem gz make
Chapel #2 8.46 33.59—33.63 9,650 737 20.85
Intel Fortran #3 9.67 38.56 12,128 1164 5.02
Intel Fortran 40.21 40.21 2,179 608 3.95
n-body      
  elapsed Mean or 95% CI      
source secs cpu secs mem gz make
Intel Fortran #5 3.39 3.40 2,146 1669 4.48
Chapel #3 3.61 3.58 9,953 983 19.99
Intel Fortran #2 4.46 4.42—4.69 2,146 1507 4.33
Intel Fortran 4.55 4.55 2,142 1400 4.41
Chapel #4 4.69 4.66 9,826 1027 20.37
Intel Fortran #3 4.72 4.69—4.82 2,154 1311 4.43
Intel Fortran #6 4.99 4.64—6.08 2,052 1530 4.43
Chapel #2 5.74 5.72 9,679 977 20.52
Intel Fortran #4   Bad Output  
spectral-norm      
  elapsed Mean or 95% CI      
source secs cpu secs mem gz make
Intel Fortran #2 2.67 2.67 2,331 520 5.05
Intel Fortran #3 0.72 2.88—2.92 5,214 644 4.80
Chapel #2 0.78 2.91 10,052 348 20.39
Chapel 1.50 5.77—5.81 10,076 322 20.39
mandelbrot      
  elapsed Mean or 95% CI      
source secs cpu secs mem gz make
Chapel #3 1.18 4.52 42,156 582 21.30
Intel Fortran #6 2.72 8.55 85,975 669 4.13
Intel Fortran #7 4.09 16.19 85,639 965 5.17
Intel Fortran #4 9.89 25.29—25.33 86,360 626 3.95
Chapel 6.69 26.49 41,697 447 20.90
Intel Fortran #5 32.66 32.67 47,174 528 3.72
fasta      
  elapsed Mean or 95% CI      
source secs cpu secs mem gz make
Chapel #6 0.83 0.81 10,146 1108 21.02
Intel Fortran #4 1.36 1.37 2,142 1355 4.44
Chapel #5 1.00 3.52—3.57 11,317 1391 22.71
Chapel #3 4.08 4.05 9,834 1219 22.42
Intel Fortran 6.01 6.05—6.11 2,146 1193 4.34
Intel Fortran #3 6.53 6.57—6.65 2,142 1217 4.47
k-nucleotide      
  elapsed Mean or 95% CI      
source secs cpu secs mem gz make
Chapel #4 4.99 17.17—18.03 194,023 1074 28.96
Chapel #3 5.99 22.14—23.26 187,892 1044 28.36
Intel Fortran   Empty  
reverse-complement      
  elapsed Mean or 95% CI      
source secs cpu secs mem gz make
Chapel #9 1.03 2.84—2.88 1,087,701 1260 20.81
Chapel #5 1.86 3.28—3.43 1,442,660 554 20.80
Chapel #3 1.85 3.35—3.53 1,669,710 709 20.38
Intel Fortran 3.35 3.36 1,012,519 1026 4.53
Intel Fortran #2 45.22 45.34—45.58 790,307 778 4.10
binary-trees      [ Contentious. Different approaches. ]
  elapsed Mean or 95% CI      
source secs cpu secs mem gz make
Intel Fortran #2 2.24 6.89—7.00 148,124 1155 4.32
Chapel #5 2.09 7.32 1,825,436 646 19.70
Chapel #3 8.63 25.95—26.01 313,868 494 10.25
Chapel #4 7.29 26.57—26.70 495,682 489 19.96
Intel Fortran 32.74 32.78—32.88 540,066 780 3.98
pidigits      [ Contentious. Different libraries. ]
  elapsed Mean or 95% CI      
source secs cpu secs mem gz make
Intel Fortran #4 0.74 0.74 6,590 987 3.94
* Chapel #4 0.80 0.77 11,600 515 19.57
Chapel #2 0.79 0.78 11,690 423 19.59
regex-redux      [ Contentious. Different libraries. ]
  elapsed Mean or 95% CI      
source secs cpu secs mem gz make
Intel Fortran 0.98 3.11—3.15 189,305 2229 4.80
Chapel #3 3.17 4.09—4.16 391,320 503 21.36
Chapel #2 3.60 4.52 391,303 498 21.07
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