[jruby] profiling jruby code ? faster startup ?

Sean Felipe Wolfe ether.joe at gmail.com
Thu Feb 21 04:47:20 JST 2019


Thanks Thomas I'll give it a try.

Just found this page as well. Strenuous google search but worth it.
https://github.com/jruby/jruby/wiki/Improving-startup-time



On Wed, Feb 20, 2019 at 11:45 AM Thomas E Enebo <tom.enebo at gmail.com> wrote:

> Have you tried --dev.  This could effect overal strainght-line performance
> but it should reduce startup overhead as it disables tiered compilation and
> tweaks a few other settings.
>
> -Tom
>
> On Wed, Feb 20, 2019 at 1:26 PM Sean Felipe Wolfe <ether.joe at gmail.com>
> wrote:
>
>> Hello !
>>
>> I've got a side project using JRuby with the LibGDX game framework.
>> Honestly it has been an awesome experience -- surprisingly stable, much
>> more so than I expected.
>>
>> Right now there's a two second startup time and I'd like to reduce that.
>> Can anybody suggest where I might start? Is it the size of the jarfiles for
>> the game library? Is there a certain amount of overhead to starting the
>> JRuby JVM? Are there ways to make that faster?
>>
>> If I can reduce this to sub 1 second, even half second, that would be
>> interstellar!
>>
>> Thanks ~~
>>
>> --
>> A musician must make music, an artist must paint, a poet must write, if
>> he is to be ultimately at peace with himself.
>> - Abraham Maslow
>>
>
>
> --
> blog: http://blog.enebo.com       twitter: tom_enebo
> mail: tom.enebo at gmail.com
>


-- 
A musician must make music, an artist must paint, a poet must write, if he
is to be ultimately at peace with himself.
- Abraham Maslow
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.ruby-lang.org/pipermail/jruby/attachments/20190220/ff40c99e/attachment.html>


More information about the JRuby mailing list