Major performance slowdown when loading AOT compiled file
---------------------------------------------------------
Key: JRUBY-2714
URL:
http://jira.codehaus.org/browse/JRUBY-2714 Project: JRuby
Issue Type: Bug
Components: Performance
Affects Versions: JRuby 1.1.2
Reporter: Peter K Chan
In my project, which has1500+ files, the performance of the app slows down dramatically when the files are compiled AOT and loaded, as opposed to purely interpreting the unpacked source file.
Some load time numbers from my own app, from start until application is ready:
pure interpretation: 4s
most files AOT compiled, -Xverify:none: 16 s
most files AOT compiled, (verification on): 18s
It does not appear that verification is responsible for the majority of the slowdown (only 2 addition seconds of overhead).
I don't have an automated test case ready now, but a manual way of verifying the performance would be to AOT compile a ruby library (e.g. ActiveRecord), JAR up the files in ar.jar, and then compare the performance of "require 'activerecord'" with either parsing and interpreting, or with the compiled classes.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://jira.codehaus.org/secure/Administrators.jspa-
For more information on JIRA, see:
http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe from this list, please visit:
http://xircles.codehaus.org/manage_email