The Computer Language
22.05 Benchmarks Game

Fastest cpu secs Racket 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
Lisp SBCL #5 65,096 681 30.55
Lisp SBCL #3 41,388 826 36.45
Lisp SBCL #4 41,844 1527 37.67
Lisp SBCL #2 26,792 517 47.14
Racket #2 66,616 908 111.70
Racket #3 68,148 1101 120.34
Racket 66,312 649 143.11
n-body
source mem gz cpu
Lisp SBCL #2 26,588 1403 7.85
Lisp SBCL 26,624 1368 13.19
Racket #2 68,496 1689 14.09
Racket 68,936 1496 40.83
spectral-norm
source mem gz cpu
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
Racket #3 65,100 627 14.71
Racket #2 65,336 532 14.99
Racket 66,852 446 29.47
mandelbrot
source mem gz cpu
Lisp SBCL 54,992 2473 16.51
Lisp SBCL #4 54,952 2447 16.64
Lisp SBCL #3 57,936 894 29.09
Racket #3 65,448 802 34.63
Racket #4 103,948 801 41.19
Racket 66,768 517 49.23
Racket #2 65,576 585 51.16
pidigits
source mem gz cpu
Racket #2 67,012 1136 1.02
Lisp SBCL #3 798,484 493 3.48
Lisp SBCL #4 792,944 489 3.49
Lisp SBCL #2 830,068 648 6.39
Racket 71,068 453 12.25
regex-redux
source mem gz cpu
Racket 2,074,452 541 21.84
Racket #2 2,003,760 729 22.58
Lisp SBCL #4 1,074,864 1972 29.92
fasta
source mem gz cpu
Lisp SBCL #6 23,504 1757 4.30
Lisp SBCL #3 26,632 1587 5.99
Racket #3 66,908 1280 7.99
Lisp SBCL #2 26,640 1622 9.33
Lisp SBCL 28,980 1424 9.47
Racket 66,768 1066 18.91
k-nucleotide
source mem gz cpu
Lisp SBCL #5 162,116 2320 16.50
Lisp SBCL #4 162,432 2291 16.86
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
Racket #4 988,500 885 63.58
Racket 2,614,596 547 199.02
reverse-complement
source mem gz cpu
Lisp SBCL 1,499,284 904 5.53
Racket #2 687,976 1030 8.74
Racket 2,575,076 553 39.70
Lisp SBCL #2   Bad Output  
binary-trees
source mem gz cpu
Racket #3 299,864 473 6.42
Lisp SBCL #3 673,772 932 6.77
Racket #4 545,328 853 8.90
Racket #2 308,092 416 8.95
Lisp SBCL 654,568 589 9.23
Racket 435,536 476 15.25
Racket

Racket v8.5 [cs].

Lisp SBCL

SBCL 2.2.4