Created
January 24, 2014 19:16
-
-
Save KeenS/8604067 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ cim for abcl alisp ccl clisp ecl gcl sbcl do --no-init -e "(defun fib (n) (if (> 1 n) 1 (+ (fib (- n 1)) (fib (- n 2)))))" -e "(time (fib 32))" | |
>>>abcl --no-init -e (defun fib (n) (if (> 1 n) 1 (+ (fib (- n 1)) (fib (- n 2))))) -e (time (fib 32)) | |
13.671 seconds real time | |
0 cons cells | |
<<< | |
>>>alisp --no-init -e (defun fib (n) (if (> 1 n) 1 (+ (fib (- n 1)) (fib (- n 2))))) -e (time (fib 32)) | |
; cpu time (non-gc) 72.680028 sec (00:01:12.680028) user, 0.028029 sec system | |
; cpu time (gc) 19.753366 sec user, 0.059581 sec system | |
; cpu time (total) 92.433394 sec (00:01:32.433394) user, 0.087610 sec system | |
; real time 92.662947 sec (00:01:32.662947) (99.85%) | |
; space allocation: | |
; 285,144,470 cons cells, 2,092,444,184 other bytes, 0 static bytes | |
; Page Faults: major: 0 (gc: 321), minor: 381 (gc: 321) | |
; Exiting | |
<<< | |
>>>ccl --no-init -e (defun fib (n) (if (> 1 n) 1 (+ (fib (- n 1)) (fib (- n 2))))) -e (time (fib 32)) | |
(FIB 32) | |
took 165,701 microseconds (0.165701 seconds) to run. | |
During that period, and with 4 available CPU cores, | |
165,777 microseconds (0.165777 seconds) were spent in user mode | |
1 microseconds (0.000001 seconds) were spent in system mode | |
<<< | |
>>>clisp --no-init -e (defun fib (n) (if (> 1 n) 1 (+ (fib (- n 1)) (fib (- n 2))))) -e (time (fib 32)) | |
Real time: 15.257262 sec. | |
Run time: 15.238467 sec. | |
Space: 0 Bytes | |
<<< | |
>>>ecl --no-init -e (defun fib (n) (if (> 1 n) 1 (+ (fib (- n 1)) (fib (- n 2))))) -e (time (fib 32)) | |
real time : 7.028 secs | |
run time : 7.008 secs | |
gc count : 19 times | |
consed : 4361629184 bytes | |
<<< | |
>>>gcl --no-init -e (defun fib (n) (if (> 1 n) 1 (+ (fib (- n 1)) (fib (- n 2))))) -e (time (fib 32)) | |
real time : 9.729 secs | |
run-gbc time : 8.039 secs | |
child run time : 0.000 secs | |
gbc time : 1.559 secs | |
<<< | |
>>>sbcl --no-init -e (defun fib (n) (if (> 1 n) 1 (+ (fib (- n 1)) (fib (- n 2))))) -e (time (fib 32)) | |
Evaluation took: | |
0.318 seconds of real time | |
0.318363 seconds of total run time (0.318343 user, 0.000020 system) | |
100.00% CPU | |
762,851,740 processor cycles | |
0 bytes consed | |
<<< | |
$ cim for abcl alisp ccl clisp ecl gcl sbcl do --no-init -e "(defun fib (n) (if (> 1 n) 1 (+ (fib (- n 1)) (fib (- n 2)))))" -e "(compile 'fib)" -e "(time (fib 32))" | |
>>>abcl --no-init -e (defun fib (n) (if (> 1 n) 1 (+ (fib (- n 1)) (fib (- n 2))))) -e (compile 'fib) -e (time (fib 32)) | |
1.082 seconds real time | |
0 cons cells | |
<<< | |
>>>alisp --no-init -e (defun fib (n) (if (> 1 n) 1 (+ (fib (- n 1)) (fib (- n 2))))) -e (compile 'fib) -e (time (fib 32)) | |
; cpu time (non-gc) 0.236663 sec user, 0.000000 sec system | |
; cpu time (gc) 0.000000 sec user, 0.000000 sec system | |
; cpu time (total) 0.236663 sec user, 0.000000 sec system | |
; real time 0.236663 sec (100.0%) | |
; space allocation: | |
; 0 cons cells, 0 other bytes, 0 static bytes | |
; Page Faults: major: 0 (gc: 0), minor: 0 (gc: 0) | |
; Exiting | |
<<< | |
>>>ccl --no-init -e (defun fib (n) (if (> 1 n) 1 (+ (fib (- n 1)) (fib (- n 2))))) -e (compile 'fib) -e (time (fib 32)) | |
(FIB 32) | |
took 168,812 microseconds (0.168812 seconds) to run. | |
During that period, and with 4 available CPU cores, | |
169,421 microseconds (0.169421 seconds) were spent in user mode | |
4 microseconds (0.000004 seconds) were spent in system mode | |
<<< | |
>>>clisp --no-init -e (defun fib (n) (if (> 1 n) 1 (+ (fib (- n 1)) (fib (- n 2))))) -e (compile 'fib) -e (time (fib 32)) | |
Real time: 2.607558 sec. | |
Run time: 2.60691 sec. | |
Space: 0 Bytes | |
<<< | |
>>>ecl --no-init -e (defun fib (n) (if (> 1 n) 1 (+ (fib (- n 1)) (fib (- n 2))))) -e (compile 'fib) -e (time (fib 32)) | |
;;; OPTIMIZE levels: Safety=2, Space=0, Speed=3, Debug=0 | |
;;; | |
;;; End of Pass 1. | |
real time : 0.859 secs | |
run time : 0.857 secs | |
gc count : 1 times | |
consed : 42768224 bytes | |
<<< | |
>>>gcl --no-init -e (defun fib (n) (if (> 1 n) 1 (+ (fib (- n 1)) (fib (- n 2))))) -e (compile 'fib) -e (time (fib 32)) | |
Compiling /tmp/gazonk_23482_0.lsp. | |
End of Pass 1. | |
End of Pass 2. | |
OPTIMIZE levels: Safety=0 (No runtime error checking), Space=0, Speed=3 | |
Finished compiling /tmp/gazonk_23482_0.lsp. | |
real time : 0.209 secs | |
run-gbc time : 0.219 secs | |
child run time : 0.000 secs | |
gbc time : 0.000 secs | |
<<< | |
>>>sbcl --no-init -e (defun fib (n) (if (> 1 n) 1 (+ (fib (- n 1)) (fib (- n 2))))) -e (compile 'fib) -e (time (fib 32)) | |
Evaluation took: | |
0.315 seconds of real time | |
0.313853 seconds of total run time (0.313485 user, 0.000368 system) | |
99.68% CPU | |
752,185,876 processor cycles | |
0 bytes consed | |
<<< |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment