The Computer Language
22.05 Benchmarks Game

Fastest cpu secs Julia versus Lisp SBCL

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 cpu seconds, less gz source code.

fannkuch-redux
source mem gz cpu
Julia #2 211,980 1067 29.46
Lisp SBCL #5 65,096 681 30.55
Julia #3 204,120 886 31.21
Lisp SBCL #3 41,388 826 36.45
Lisp SBCL #4 41,844 1527 37.67
Julia 181,932 434 44.01
Lisp SBCL #2 26,792 517 47.14
n-body
source mem gz cpu
Julia #8 225,844 1111 4.49
Julia #4 202,592 1155 5.95
Julia #3 207,868 1541 7.05
Lisp SBCL #2 26,588 1403 7.85
Lisp SBCL 26,624 1368 13.19
Julia #2 268,512 1078 24.49
spectral-norm
source mem gz cpu
Julia #4 188,696 429 3.72
Julia #2 200,160 370 5.12
Lisp SBCL #6 25,380 505 5.33
Lisp SBCL 29,364 631 5.33
Lisp SBCL #7 24,144 762 5.69
Lisp SBCL #3 24,168 890 5.69
Lisp SBCL #2 24,188 915 5.69
Lisp SBCL #8 24,160 791 5.69
mandelbrot
source mem gz cpu
Julia #7 236,644 619 5.08
Julia #8 236,112 624 5.24
Julia #6 253,220 562 5.87
Julia #5 272,904 571 5.94
Julia #4 257,796 574 7.69
Julia #3 273,584 579 7.77
Lisp SBCL 54,992 2473 16.51
Lisp SBCL #4 54,952 2447 16.64
Julia 210,712 373 27.06
Lisp SBCL #3 57,936 894 29.09
pidigits
source mem gz cpu
Julia #3 179,360 506 1.24
Julia #2 190,376 674 1.34
Julia 265,496 275 2.15
Lisp SBCL #3 798,484 493 3.48
Lisp SBCL #4 792,944 489 3.49
Lisp SBCL #2 830,068 648 6.39
regex-redux
source mem gz cpu
Julia #5 403,608 759 3.12
Julia #4 410,768 766 3.19
Julia #3 502,440 622 3.68
Julia 380,060 408 3.88
Lisp SBCL #4 1,074,864 1972 29.92
fasta
source mem gz cpu
Julia #8 198,752 1082 1.40
Julia #5 219,876 950 2.89
Julia #4 203,872 1049 3.12
Lisp SBCL #6 23,504 1757 4.30
Julia #7 459,380 1182 4.92
Julia #6 407,228 1203 5.54
Lisp SBCL #3 26,632 1587 5.99
Lisp SBCL #2 26,640 1622 9.33
Lisp SBCL 28,980 1424 9.47
Julia #3 237,412 896 27.78
k-nucleotide
source mem gz cpu
Julia #8 366,728 951 11.31
Lisp SBCL #5 162,116 2320 16.50
Lisp SBCL #4 162,432 2291 16.86
Julia #7 370,872 1368 18.12
Lisp SBCL #6 521,168 2479 38.59
Lisp SBCL 572,680 2424 44.54
Lisp SBCL #3 513,868 1290 54.80
Lisp SBCL #2 513,940 1284 55.65
Julia 1,962,152 695 196.54
reverse-complement
source mem gz cpu
Julia #8 683,748 522 1.71
Julia #9 681,000 449 1.95
Lisp SBCL 1,499,284 904 5.53
Julia #2 1,742,028 460 32.14
Lisp SBCL #2   Bad Output  
binary-trees
source mem gz cpu
Lisp SBCL #3 673,772 932 6.77
Lisp SBCL 654,568 589 9.23
Julia #2 600,804 423 37.16
Julia #4 495,284 372 47.16
Julia #3 608,728 634 48.85
Julia #5 665,480 390 79.14
Julia

julia version 1.7.2

Lisp SBCL

SBCL 2.2.4