6 Dec 16:06
Re: [groovy-user] What do you want: fast compiler and slow program or slow compiler and fast program?
On Dec 6, 2009, at 4:54 AM, Jochen Theodorou wrote:
Martin C. Martin schrieb:Randall J. Parr wrote:
invoking the Groovy scripts 100's of times just kills the performance because Groovy takes so much longer to startup.
How much of this is JVM startup time? Even if Jochen worked magic, it may still be too slow.
Groovy used to have a startup time that is nearly only VM startup time, but today it is like VM startup time multiplied with two due to the dgm$ helper classes, which are good for the overall performance, but for startup time they are quite bad.
BTW: Mark Reynolds was talking at Devoxx about how JDK 7 and the new module system will make classloading faster.
- Hans
--
Hans Dockter
Gradle Project Manager
http://www.gradle.org
One of the things I wanted to look into to is to use an database like structure for the dgm stuff instead of DefaultGroovyMethods or the dgm$ helpers directly, avoiding loading so many classes. This will move class verification times to the places the classes are actually needed, which means for most that they are never even loaded. Another startup time factor was the MetaClass creation stuff, but Alex did here already quite a job to reduce this noise.
bye blackdrag
--
Jochen "blackdrag" Theodorou
The Groovy Project Tech Lead (http://groovy.codehaus.org)
http://blackdragsview.blogspot.com/
---------------------------------------------------------------------
To unsubscribe from this list, please visit:
http://xircles.codehaus.org/manage_email
RSS Feed