Skip to content

Instantly share code, notes, and snippets.

@mitchellh
Created January 11, 2012 01:15
Show Gist options
  • Save mitchellh/1592338 to your computer and use it in GitHub Desktop.
Save mitchellh/1592338 to your computer and use it in GitHub Desktop.
Ruby vs. Rubinius Startup on Mac OS X 10.7
Last login: Tue Jan 10 17:14:06 on ttys004
foo → ruby -v
ruby 1.9.3p0 (2011-10-30 revision 33570) [x86_64-darwin11.2.0]
foo → time ruby test.rb
HELLO!
real 0m0.022s
user 0m0.017s
sys 0m0.005s
foo → time ruby test.rb
HELLO!
real 0m0.023s
user 0m0.017s
sys 0m0.005s
foo → time ruby test.rb
HELLO!
real 0m0.024s
user 0m0.018s
sys 0m0.005s
foo → time ruby test.rb
HELLO!
real 0m0.023s
user 0m0.017s
sys 0m0.005s
foo → time ruby test.rb
HELLO!
real 0m0.022s
user 0m0.017s
sys 0m0.005s
foo → time ruby test.rb
HELLO!
real 0m0.026s
user 0m0.020s
sys 0m0.005s
foo → time ruby test.rb
HELLO!
real 0m0.022s
user 0m0.016s
sys 0m0.004s
foo → time ruby test.rb
HELLO!
real 0m0.024s
user 0m0.019s
sys 0m0.005s
foo → time ruby test.rb
HELLO!
real 0m0.022s
user 0m0.016s
sys 0m0.005s
foo → ruby -v
rubinius 2.0.0dev (1.8.7 9c853513 yyyy-mm-dd JI) [x86_64-apple-darwin11.2.0]
foo → time ruby test.rb
HELLO!
real 0m0.390s
user 0m0.421s
sys 0m0.040s
foo → time ruby test.rb
HELLO!
real 0m0.386s
user 0m0.412s
sys 0m0.039s
foo → time ruby test.rb
HELLO!
real 0m0.396s
user 0m0.424s
sys 0m0.040s
foo → time ruby test.rb
HELLO!
real 0m0.391s
user 0m0.418s
sys 0m0.042s
foo → time ruby test.rb
HELLO!
real 0m0.387s
user 0m0.413s
sys 0m0.040s
foo → time ruby test.rb
HELLO!
real 0m0.398s
user 0m0.429s
sys 0m0.039s
foo → time ruby test.rb
HELLO!
real 0m0.385s
user 0m0.409s
sys 0m0.040s
foo → time ruby test.rb
HELLO!
real 0m0.399s
user 0m0.434s
sys 0m0.041s
foo → time ruby test.rb
HELLO!
real 0m0.387s
user 0m0.410s
sys 0m0.041s
foo → time ruby test.rb
HELLO!
real 0m0.391s
user 0m0.421s
sys 0m0.040s
puts "HELLO!"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment