Skip to content

Instantly share code, notes, and snippets.

@s0enke

s0enke/gist:641015

Created Oct 22, 2010
Embed
What would you like to do?
soenke@kellerautomat:~$ time ruby -e '999999.times do puts "yeah"; end' >/dev/null
real 0m0.730s
user 0m0.710s
sys 0m0.010s
soenke@kellerautomat:~$ time ruby -e 'puts "yeah" * 999999' >/dev/null
real 0m0.014s
user 0m0.010s
sys 0m0.000s
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment