/mobile Handheld Friendly website
x64 Ubuntu : Intel® Q6600® quad-core |
This chart shows 3 comparisons - Time-used, Memory-used and Code-used ~ speed and size.
Each chart bar shows, for one unidentified benchmark, how much the fastest Lisp SBCL program used compared to the fastest Java 7 -server program.
Look at speed another way - look at a box plot of Time-used data.
This table shows 3 comparisons - Time-used, Memory-used and Code-used ~ speed and size.
Each table row shows, for one named benchmark, how much the fastest Lisp SBCL program used compared to the fastest Java 7 -server program.
| Lisp SBCL used what fraction? used how many times more? | ||||
|---|---|---|---|---|
| Benchmark | Time | Memory | Code | |
| pidigits | 1/2 | 1/11 | 1/2 | |
| spectral-norm | ± | 1/3 | ± | |
| n-body | ± | 2× | ± | |
| fannkuch-redux | ± | ± | ± | |
| mandelbrot | ± | 1/2 | 3× | |
| reverse-complement | 2× | ± | 1/2 | |
| fasta | 2× | ± | ± | |
| fasta-redux | 2× | 1/2 | ± | |
| binary-trees | 3× | ± | 1/2 | |
| regex-dna | 3× | ± | ± | |
| k-nucleotide | 5× | 1/3 | ± | |
| Lisp SBCL used what fraction? used how many times more? | |||||||
|---|---|---|---|---|---|---|---|
| Time-used | |- | |--- | 25% | median | 75% | ---| | -| |
| (Elapsed secs) | 1/2 | 1/2 | ± | 2× | 3× | 5× | 5× |
± read the measurements and then read the program source code.
This table shows 5 measurements - CPU Time, Elapsed Time, Memory, Code and ≈ CPU Load ~ speed and size.
For each named benchmark, measurements of the fastest Lisp SBCL program are shown for comparison against measurements of the fastest Java 7 -server program.
| Program Source Code | CPU secs | Elapsed secs | Memory KB | Code B | ≈ CPU Load |
|---|---|---|---|---|---|
| pidigits | |||||
| Lisp SBCL | 2.34 | 2.34 | 5,804 | 1073 | 0% 0% 100% 0% |
| Java 7 -server | 10.61 | 4.43 | 63,156 | 1826 | 71% 69% 52% 45% |
| spectral-norm | |||||
| Lisp SBCL | 15.76 | 3.98 | 5,804 | 906 | 99% 99% 99% 99% |
| Java 7 -server | 17.62 | 4.50 | 17,716 | 950 | 98% 99% 98% 98% |
| n-body | |||||
| Lisp SBCL | 23.09 | 23.11 | 31,468 | 1398 | 0% 0% 100% 0% |
| Java 7 -server | 22.52 | 22.50 | 16,920 | 1424 | 0% 100% 0% 0% |
| fannkuch-redux | |||||
| Lisp SBCL | 54.11 | 13.95 | 22,192 | 1518 | 99% 98% 97% 94% |
| Java 7 -server | 53.19 | 13.47 | 17,416 | 1282 | 98% 100% 98% 100% |
| mandelbrot | |||||
| Lisp SBCL | 28.54 | 7.36 | 36,320 | 2459 | 97% 94% 99% 99% |
| Java 7 -server | 23.97 | 6.10 | 69,360 | 796 | 98% 99% 98% 98% |
| reverse-complement | |||||
| Lisp SBCL | 2.50 | 2.52 | 312,864 | 896 | 0% 0% 100% 0% |
| Java 7 -server | 2.74 | 1.31 | 298,220 | 1661 | 45% 54% 37% 79% |
| fasta | |||||
| Lisp SBCL | 9.84 | 9.85 | 18,968 | 1579 | 0% 0% 0% 100% |
| Java 7 -server | 5.22 | 5.14 | 18,176 | 1507 | 0% 100% 1% 1% |
| fasta-redux | |||||
| Lisp SBCL | 5.73 | 5.73 | 7,084 | 2005 | 0% 0% 100% 0% |
| Java 7 -server | 2.56 | 2.51 | 17,304 | 1443 | 0% 100% 1% 1% |
| binary-trees | |||||
| Lisp SBCL | 26.27 | 26.34 | 435,856 | 649 | 0% 0% 0% 100% |
| Java 7 -server | 22.86 | 9.41 | 516,144 | 1007 | 83% 41% 64% 57% |
| regex-dna | |||||
| Lisp SBCL | 46.28 | 22.49 | 949,840 | 1948 | 36% 43% 90% 38% |
| Java 7 -server | 23.36 | 6.63 | 636,924 | 1410 | 92% 87% 88% 86% |
| k-nucleotide | |||||
| Lisp SBCL | 37.42 | 37.47 | 138,688 | 2301 | 0% 0% 100% 0% |
| Java 7 -server | 29.23 | 8.03 | 463,516 | 2431 | 90% 98% 89% 89% |
Remember - those are just the fastest Lisp SBCL and Java 7 -server programs measured on this OS/machine. Check if there are other implementations of these benchmark programs for Lisp SBCL.
Maybe one of those other Lisp SBCL programs is fastest on a different OS/machine.
Remember - those are just the fastest Lisp SBCL and Java 7 -server programs measured on this OS/machine. Check if there are faster implementations of these benchmark programs for other programming languages.
Maybe one of those other programs is fastest on a different OS/machine.
online book Practical Common Lisp
This is SBCL 1.0.54, an implementation of ANSI Common Lisp.
Home Page: http://sbcl.sourceforge.net/
Download: http://sbcl.sourceforge.net/