Message4818
I have a test system, where I need to execute hundreds of commands using
Jython. After switching from 2.2 to 2.5, I noticed that the test run
took almost three times as long as previously (~1h vs. 2h50min). Since
even previously most of that time has been spent on interpreter startup
(With Python2.5, the tests run in ~6 min), I investigated this a bit
further. I ran this on my console:
$ time for i in `seq 20`; do jython -c 'import sys; print sys.path'; done
With 2.2, the result was:
real 0m33.868s
user 0m39.526s
sys 0m2.216s
With 2.5, however:
real 1m40.181s
user 2m14.572s
sys 0m4.924s
Almost three times slower here as well.
Here's the interpreter version:
Jython 2.5.0 (Release_2_5_0:6476, Jun 16 2009, 13:33:26)
[Java HotSpot(TM) Server VM (Sun Microsystems Inc.)] on java1.6.0_13 |
|
Date |
User |
Action |
Args |
2009-06-17 10:28:49 | yanne | set | recipients:
+ yanne |
2009-06-17 10:28:49 | yanne | set | messageid: <1245234529.32.0.829407618366.issue1380@psf.upfronthosting.co.za> |
2009-06-17 10:28:49 | yanne | link | issue1380 messages |
2009-06-17 10:28:48 | yanne | create | |
|