how/where to set --fast mode for jruby when using it within jruby/rack inside tomcat?

StackOverflow https://stackoverflow.com/questions/4765109

  •  16-10-2019
  •  | 
  •  

سؤال

how/where to set --fast mode for jruby when using it within jruby/rack inside tomcat?

This --fast mode is explained in this page jruby performance tuning

هل كانت مفيدة؟

المحلول

Pass these flags to JVM:

-Djruby.compile.mode=FORCE -Djruby.compile.fastest=true

however you with Tomcat.

مرخصة بموجب: CC-BY-SA مع الإسناد
لا تنتمي إلى StackOverflow
scroll top