benchmark

Synopsis

(benchmark)

Parameters

Description

This is the Inlab Scheme built-in benchmark which was implemented from the very beginning. The tak function is called 50 times with 18, 12 and 6 as fixed parameters.

Side Effects

The current benchmark result is displayed together with interesting historic results.

Return Value

The measured execution time is returned.

Example

> (benchmark)

 Calling (tak 18 12 6) 50 times (result is 7) ...... done.
 One single invocation took ** 0.06 ** seconds.
 Total number of GC cycles: 667

 HISTORY:

 4.4   Pentium 90 FreeBSD 2.0.5 2MB memory
 3.8   Pentium 90 FreeBSD 2.1.0 4MB memory
 3.7   Pentium 90 FreeBSD 2.1.5 4MB memory
 2.2   DEC Alpha-Server 16MB memory
 1.0   Pentium-Pro 200, FreeBSD 2.1.5 4MB memory
 0.9   Pentium-Pro 200, FreeBSD 2.1.5 16MB memory
 0.06  Mac Pro, macOS Catalina, 64GB memory
 0.06  64Bit Debian Linux x86, 8GB memory

0.06
>