[jruby] profiling jruby code ? faster startup ?

Thomas E Enebo tom.enebo at gmail.com
Thu Feb 21 04:44:40 JST 2019


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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.ruby-lang.org/pipermail/jruby/attachments/20190220/17ae4c8e/attachment.html>


More information about the JRuby mailing list