Back to main page
Back to sound contents

Execution times

This section shows some execution times on different environments: computers, Lisp compilers and interpreted vs compiled sound package code.

Tests:

Test #1 play(note(440, 2000, 5)) $
Test #2 play(wave (2000 * sin(2*%pi*440*t), t, 0, 2)) $
Test #3 datalist : makelist(random(10.0), k, 1, 20000) $
play(sample(datalist)) $
Test #4 datarray : make_array (flonum, 20000) $
fillarray(datarray, datalist) $
play(sample(datarray)) $

Execution times were calculated only for function play.


Lisp Test #1 Test #2 Test #3 Test #4
sbcl-interpreted 0.304 2.117 0.124 0.004
sbcl-compiled 0.324 2.028 0.128 0.004
cmucl-interpreted 14.65 9.93 3.19 0.02
cmucl-compiled 0.39 3.82 0.12 0.01
clisp-interpreted 4.8003 55.291455 1.192075 1.016064
clisp-compiled 1.13607 53.535346 0.352021 0.248016


Lisp Test #1 Test #2 Test #3 Test #4
sbcl-interpreted 0.132 0.528 0.04 0.032
sbcl-compiled 0.148 0.54 0.072 0.032
cmucl-interpreted 4.55 3.19 1.03 1.09
cmucl-compiled 0.19 1.28 0.17 0.01
clisp-interpreted 2.212138 25.497594 0.49203 0.460028
clisp-compiled 0.520032 24.65354 0.132008 0.100006
gcl-interpreted 2.97 2.43 0.72 0.61
gcl-compiled 0.88 1.49 0.2 0.22


Back to main page
Back to sound contents


by Mario Rodríguez Riotorto