The Computer Language
24.11 Benchmarks Game

Julia 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
* Julia #2 8.49 251,248 1077 31.91
* Julia #3 9.33 248,484 896 35.56
Intel Fortran #3 9.78 19,648 1164 39.00
Intel Fortran 40.33 19,648 608 40.33
Julia 42.59 226,292 441 42.67
n-body
source secs mem gz cpu secs
Intel Fortran #5 3.39 19,648 1669 3.39
Julia #5 3.67 261,584 1129 3.77
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
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
Intel Fortran #4   Bad Output  
spectral-norm
source secs mem gz cpu secs
Intel Fortran #2 2.67 19,648 520 2.66
Intel Fortran #3 0.73 19,648 644 2.88
Julia #4 1.18 232,768 435 3.66
Julia #2 1.76 261,124 377 4.80
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
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
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
Julia 26.55 254,964 379 26.63
Intel Fortran #5 32.58 43,648 528 32.58
fasta
source secs mem gz cpu secs
Julia #2 1.17 234,156 1094 1.25
Intel Fortran #4 1.34 19,648 1355 1.34
Julia #5 2.57 250,416 957 2.66
Julia #4 2.62 236,892 1053 2.72
* Julia #6 2.12 353,084 1213 4.86
* Julia #7 1.87 348,656 1189 5.33
Intel Fortran 5.83 19,648 1193 5.83
Intel Fortran #3 6.19 19,648 1217 6.19
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
Julia #7 8.87 479,756 1379 22.94
Julia 132.60 1,558,404 703 132.21
Intel Fortran   Make Error  
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
Intel Fortran 3.33 986,304 1026 3.33
Julia #2 29.29 1,951,468 464 29.83
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
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
Intel Fortran 32.59 525,824 780 32.59
Julia #5 17.97 482,024 396 57.53
pidigits
source secs mem gz cpu secs
Intel Fortran #4 0.88 19,648 987 0.88
* 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
Intel Fortran 0.96 179,724 2229 3.09
* 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
Julia 4.10 606,148 414 4.24
Julia

julia version 1.11.1

Intel Fortran

ifx (IFX)
2024.1.0 20240308