Skip to content

Instantly share code, notes, and snippets.

@mkristian
Created August 19, 2010 15:34
Show Gist options
  • Save mkristian/538166 to your computer and use it in GitHub Desktop.
Save mkristian/538166 to your computer and use it in GitHub Desktop.
$ time jruby -e 'puts "hi"'hi
real 0m0.551s
user 0m0.444s
sys 0m0.104s
$ time java -client -Xbootclasspath/a:/home/kristian/.m2/repository/org/jruby/jruby-complete/1.5.1/jruby-complete-1.5.1.jar org.jruby.Main -e 'puts "hi"'
hi
real 0m0.569s
user 0m0.440s
sys 0m0.100s
$ time java -client -Xbootclasspath/a:/home/kristian/.m2/repository/org/jruby/jruby-complete/1.5.1/jruby-complete-1.5.1.jar -Djruby.home=/home/kristian/install/jruby org.jruby.Main -e 'puts "hi"'
hi
real 0m0.517s
user 0m0.412s
sys 0m0.104s
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment