Hi all,

We're using jython with a fairly large python code base. The initial jython startup time is pretty slow.

The very first startup time (no .class files on disk) is about 10 seconds.
Subsequent startup times are around 7 seconds.

So I am guessing the first time is slowest because jython writes .class files to disk. What is most of the startup time spent in once the .class files are on disk? Is it jython trying to figure out all the module dependencies, and whether or not it needs to generate .class files?

Is there any way to precompile all modules into .class files using jythonc, in order to reduce starup time?