How to Benchmark Lisp Systems

Richard Gabriel's benchmark suite ships with every Symbolics Genera 8.3 system. On a MacIvory, XL1200 or XL1201 it takes five commands and about a quarter of an hour, and the numbers it writes are still missing: no full run from real Ivory hardware has been published.

They are wanted as the yardstick for the Symbolics XL1200 core for the MiSTer FPGA, which today is only compared with a single fib timing and a published "about 6× a 3600". I run my old CLIM programs on that core. The steps also work on Open Genera. If you have such a machine, please run them and send me the results!

The whole session at a Lisp Listener:

Command: Compile File SYS:EXAMPLES;GABRIEL-BENCHMARKS.LISP
Command: Load File SYS:EXAMPLES;GABRIEL-BENCHMARKS.IBIN
Command: (gabriel::run-series-to-file)       ; Return takes FEP:>GABRIEL.TEXT
Command: (defun fib (n) (if (or (= n 0) (= n 1)) 1 (+ (fib (- n 1)) (fib (- n 2)))))
Command: (compile 'fib)
Command: (time (fib 30))

Five Steps at a Lisp Listener

  1. Start from a quiet machine. Cold boot and log in as usual. Close other programs and leave the network idle. While each benchmark runs, the suite stops every other process, so the screen and mouse freeze for seconds at a time and network connections may drop. That is expected; it is why the results go to the FEP file system.
  2. Compile the suite that comes with Genera:
    Compile File SYS:EXAMPLES;GABRIEL-BENCHMARKS.LISP
    If SYS: is read-only at your site, copy the file to your home directory and compile it there.
  3. Load it:
    Load File SYS:EXAMPLES;GABRIEL-BENCHMARKS.IBIN
    On Open Genera the compiled file is GABRIEL-BENCHMARKS.VBIN.
  4. Run the series:
    (gabriel::run-series-to-file)
    Press Return to accept the default file, FEP:>GABRIEL.TEXT. The function is not exported, hence the two colons. (gabriel::run-series) prints the same report in the Listener instead.
  5. Time one function call:
    (defun fib (n) (if (or (= n 0) (= n 1)) 1 (+ (fib (- n 1)) (fib (- n 2)))))
    (compile 'fib)
    (time (fib 30))
    The same definition Douglas Fields timed on his XL1201 and MacIvory III in 2016, so the numbers line up.

What to Send Back

The file begins with the machine and software description (machine-type, software-version, features), then one line per benchmark with CPU, page-fault and real seconds, then the same figures as two Lisp lists. Please send it to me - my e-mail address is at the bottom of this page.

What Is Known So Far

Compare Your Run with a 3600

Paste the contents of GABRIEL.TEXT. The table reads the CPU list at the end of the file and divides the 3600's time (with IFU, from Gabriel's 1985 book) by yours: higher is faster.

Nothing pasted yet: the table shows the 3600 reference times.

Benchmark3600 + IFU, sYour CPU, sRatio
Boyer9.40——
Browse21.43——
Destructive2.18——
Traverse init6.37——
Traverse run35.34——
Tak0.43——
Stak2.30——
Ctak5.04——
Takl4.95——
Deriv3.79——
Dderiv3.89——
Div2 iterative1.51——
Div2 recursive2.50——
FFT3.87——
Puzzle11.04——
Triang116.99——
Geometric mean—

Puzzle in Genera 8.3 does more work than the 1985 version, so its ratio comes out low on every machine; the mean is also shown without it. TAKR and the FRPOLY series are run but have no 3600 time here.

Sources

R. P. Gabriel, Performance and Evaluation of Lisp Systems (MIT Press, 1985), for the 3600 times; Genera 8.3's SYS:EXAMPLES;GABRIEL-BENCHMARKS.LISP (Symbolics' Common Lisp version, used for its official figures); the Symbolics XL1200 MiSTer core's notes for the fib and MiSTer figures.

This page was written by Claude Code.