This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.
Summary: | Speed up startup of JRuby | ||
---|---|---|---|
Product: | ruby | Reporter: | nicksieger <nicksieger> |
Component: | Platform | Assignee: | issues@ruby <issues> |
Status: | NEW --- | ||
Severity: | blocker | ||
Priority: | P3 | ||
Version: | 6.x | ||
Hardware: | All | ||
OS: | All | ||
Issue Type: | ENHANCEMENT | Exception Reporter: |
Description
nicksieger
2007-09-04 17:13:22 UTC
BTW, I'm using build 070814. I assume you are using JRuby as your interpreter? JRuby is launched as a separate process for each test, which is why there's such as delay - it's JRuby startup cost every time. If you switch to C Ruby it's nearly instant. I'm not sure what I can do about this. We have the same problem with running the Rails "Generate" script - there's a noticeable pause each time you run it as JRuby warms up. I spoke briefly with Ola at JavaOne about this - perhaps we could run some sort of JRuby server process which handles Ruby execution requests directly. The difficulty there is with getting the output for each request sorted out. Regarding your focus issues, I can't reproduce that -- hitting Command-F6 doesn't shift the focus to the output window for me. Perhaps this was previous behavior which is now fixed? Even command-dot to navigate through the error messages in the output window keeps the focus in the editor. Marking issue as "future" since I can't address the JRuby-startup issue here. Hopefully the autotest integration (where JRuby is left running) makes this less of a problem? Reassigning to ruby/platform, where the JRuby startup issue should be handled (if there is something we can do for that in NetBeans). The second issue seems to be fixed, maybe it was some temporary problem. I'm changing the subject to be a little general. Might be too much, since I'm not sure about the best solution. At present the most right solution seems to be to utilize Nailgun or at least, in the beginning, to provide some help/option for the users who wants to utilize it. |