Login  Register

Re: Faster JRuby execution

Posted by LightGuardjp on Apr 22, 2013; 7:29pm
URL: https://discuss.asciidoctor.org/Faster-JRuby-execution-tp130p156.html

Great work! Let's get this as fast as we can programmatically then tell them to go even faster they can modify java / maven startup with additional settings


On Mon, Apr 22, 2013 at 1:21 PM, asotobu [via Asciidoctor :: Discussion] <[hidden email]> wrote:
Wow!!! with only setting next properties programmatically:

RubyInstanceConfig config = new RubyInstanceConfig();  
config.setCompatVersion(CompatVersion.RUBY1_9);
config.setCompileMode(CompileMode.OFF);
Ruby rubyRuntime = JavaEmbedUtils.initialize(Collections.EMPTY_LIST, config);


Startup has improved from 5.5 seconds to 4.3 and rendering from 0.30 to 0.17. Cool improvement, I will continue researching on how to improve speed, and after that I will write a blog post about it.

OMG I have two articles about asciidoctor-java-integration pending to be written, really happy :D


If you reply to this email, your message will be added to the discussion below:
http://discuss.asciidoctor.org/Faster-JRuby-execution-tp130p155.html
To start a new topic under Asciidoctor :: Discussion, email [hidden email]
To unsubscribe from Asciidoctor :: Discussion, click here.
NAML



--
Jason Porter
http://en.gravatar.com/lightguardjp