$ jruby -v
jruby 1.7.0 (1.9.3p203) 2012-10-22 ff1ebbe on Java HotSpot(TM) 64-Bit Server VM 1.6.0_33-b03-424-10M3720 [darwin-x86_64]
$ time jruby -e 'require "rubygems"; require "active_support"'
real 0m1.426s
user 0m2.681s
sys 0m0.180s
$ export JAVA_OPTS='-d32' # switch to 32-bit client mode
$ jruby -v
jruby 1.7.0 (1.9.3p203) 2012-10-22 ff1ebbe on Java HotSpot(TM) Client VM 1.6.0_33-b03-424-10M3720 [darwin-i386]
$ time jruby -e 'require "rubygems"; require "active_support"'
real 0m1.372s
user 0m1.274s
sys 0m0.179s
$ time jruby -e 'require "rubygems"; require "active_support"'
real 0m1.088s
user 0m1.250s
sys 0m0.109s
$ time jruby -e 'require "rubygems"; require "active_support"'
real 0m1.083s
user 0m1.245s
sys 0m0.108s
Created
October 23, 2012 14:53
-
-
Save benolee/3939219 to your computer and use it in GitHub Desktop.
jruby 1.7.0 startup time with client mode
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
