Improve JRuby startup time
--------------------------
Key: JRUBY-1273
URL: http://jira.codehaus.org/browse/JRUBY-1273
Project: JRuby
Issue Type: Improvement
Components: Core Classes/Modules
Affects Versions: JRuby 1.0.0
Environment: ruby 1.8.5 (2007-07-27 rev 3876) [x86-jruby1.1]
XP, Dual Core (2GHz), 2GB RAM
Reporter: Doug Donohoe
JRuby startup time is almost 12 seconds on this machine
{code}
$time jruby -e "puts 'hello'"
hello
real 0m11.416s
user 0m0.730s
sys 0m2.266s
{code}
versus about one second for MRI
{code}
$time ruby -e "puts 'hello'"
hello
real 0m1.059s
user 0m0.030s
sys 0m0.234s
{code}
When using JRuby on Rails, this twelve second delay is an annoyance when
developing and running tests. A twelve second wait between runs is quite long
compared the near-instantaneous reload when doing normal controllers/model/view
development.
In reality, it is more like 24 seconds for a simple iteration of a unit test.
The first twelve seconds is starting rake and the second twelve is rake
spawning another JRuby instance to run unit tests.
Opening this issue to put this on the radar.
--
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