startup time (was: Python syntax in Lisp and Scheme)
Björn Lindberg
d95-bli at nada.kth.se
Fri Oct 10 10:16:42 EDT 2003
Bruce Lewis <brlspam at yahoo.com> writes:
> j-anthony at rcn.com (Jon S. Anthony) writes:
>
> > If your problems are trivial, I suppose the presumed lower startup
> > costs of Python may mark it as a good solution medium.
>
> I find no significant difference in startup time between python and
> mzscheme.
My preliminary results in this very important benchmark indicates that
python performs equally well to the two benchmarked Common Lisps:
200 bjorn at nex:~> time for ((i=0; i<100; i++)); do lisp -noinit -eval '(quit)'; done
real 0m2,24s
user 0m1,36s
sys 0m0,83s
201 bjorn at nex:~> time for ((i=0; i<100; i++)); do lisp -noinit -eval '(quit)'; done
real 0m2,24s
user 0m1,39s
sys 0m0,82s
202 bjorn at nex:~> time for ((i=0; i<100; i++)); do clisp -q -x '(quit)'; done
real 0m2,83s
user 0m1,74s
sys 0m1,03s
203 bjorn at nex:~> time for ((i=0; i<100; i++)); do clisp -q -x '(quit)'; done
real 0m2,79s
user 0m1,67s
sys 0m1,09s
204 bjorn at nex:~> time for ((i=0; i<100; i++)); do python -c exit; done
real 0m2,41s
user 0m1,85s
sys 0m0,52s
205 bjorn at nex:~> time for ((i=0; i<100; i++)); do python -c exit; done
real 0m2,41s
user 0m1,89s
sys 0m0,52s
</sarcasm>
Björn
More information about the Python-list
mailing list