Is python really slow?

David Bolen db3l at fitlinxx.com
Wed May 22 21:49:07 EDT 2002


Fernando Pereira <pereira at cis.upenn.edu> writes:

> Any Java performance evaluation that doesn't take into account the effect of
> JITC/HotSpot is worthless. Unless the test program runs for quite a while,
> runtime will include byte-code interpretation (before the frequently-visited
> code is compiled) and compilation.

As long as what you're trying to evaluate will be a long running
program.  Otherwise, regardless of how well your test program may
eventually do after runtime permits the compilation, it's still going
to be the interpretation overhead in typical use (e.g., for short
tasks).

As usual, benchmarking and performance evaluation is an area fraught
with peril :-)

--
-- David
-- 
/-----------------------------------------------------------------------\
 \               David Bolen            \   E-mail: db3l at fitlinxx.com  /
  |             FitLinxx, Inc.            \  Phone: (203) 708-5192    |
 /  860 Canal Street, Stamford, CT  06902   \  Fax: (203) 316-5150     \
\-----------------------------------------------------------------------/



More information about the Python-list mailing list