From: <bc...@wo...> - 2001-12-10 21:12:57
|
[Stefan] >Hi, > >I note a big difference in startup time between >Jython-2.1a3 and Jython-2.1b1 (using the same JVM >and same registry). Which JVM? >Executing the following script (exit.py): > >import sys >sys.exit(0) > >I got these times: > >$ time /opt/jython-2.1a3/jython exit.py > >real 0m0.830s >user 0m0.760s >sys 0m0.040s > > >$ time /opt/jython-2.1b1/jython exit.py > >real 0m5.577s >user 0m5.490s >sys 0m0.070s > >Does anyone else note a similar difference? >Is it special to Jython-2.1b ? Is that 5 seconds real time? No, I certainly does not see that on win2k using javasoft JVMs. Maybe its scanning CLASSPATH jar files. Do you have write access to the "cachedir" directory? If your JVM have some kind of verbose options, try running with different kind of verbosity enabled. Maybe it will give some clues about what it is doing in that time. regards, finn |