Message4818

Author yanne
Recipients yanne
Date 2009-06-17.10:28:48
SpamBayes Score 7.2967407e-07
Marked as misclassified No
Message-id <1245234529.32.0.829407618366.issue1380@psf.upfronthosting.co.za>
In-reply-to
Content
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
History
Date User Action Args
2009-06-17 10:28:49yannesetrecipients: + yanne
2009-06-17 10:28:49yannesetmessageid: <1245234529.32.0.829407618366.issue1380@psf.upfronthosting.co.za>
2009-06-17 10:28:49yannelinkissue1380 messages
2009-06-17 10:28:48yannecreate