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
http://discuss.asciidoctor.org/Faster-JRuby-execution-tp130p155.htmlIf you reply to this email, your message will be added to the discussion below:To start a new topic under Asciidoctor :: Discussion, email [hidden email]
To unsubscribe from Asciidoctor :: Discussion, click here.
NAML
Free forum by Nabble | Edit this page |