Created
August 17, 2010 15:29
-
-
Save BanzaiMan/530410 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ time java -Xbootclasspath/a:/Users/asari/Development/src/jruby/lib/jruby.jar -jar Development/src/jruby/lib/jruby.jar -e 'puts "hi"' | |
hi | |
real 0m0.610s | |
user 0m0.579s | |
sys 0m0.085s | |
$ time java -jar Development/src/jruby/lib/jruby.jar -e 'puts "hi"' | |
hi | |
real 0m1.411s | |
user 0m1.556s | |
sys 0m0.137s |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ jruby -e 'sleep 3600' & | |
[1] 26456 | |
$ ps -ef|grep 26456 | |
501 26456 25482 0 0:00.06 ttys003 0:00.44 /usr/bin/java -Dfile.encoding=UTF-8 -Djdk.home= -Djruby.home=/Users/asari/Development/src/jruby -Djruby.script=jruby -Djruby.shell=/bin/bash -Djffi.boot.library.path=/Users/asari/Development/src/jruby/lib/native/Darwin -Xmx500m -Xss1024k -Djruby.memory.max=500m -Djruby.stack.max=1024k -Dsun.java.command=org.jruby.Main -Djava.class.path=/Users/asari/Development/src/jruby/lib/profile.jar: -Xbootclasspath/a:/Users/asari/Development/src/jruby/lib/jruby.jar org/jruby/Main -e sleep 3600 | |
501 26464 25482 0 0:00.00 ttys003 0:00.00 grep --colour 26456 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment