Created
June 11, 2010 22:52
-
-
Save rdp/435159 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
start = Time.now | |
a = Thread.new { for i in 1..100000000 do; end; puts 't1d'} | |
for i in 1..100000000 do; end | |
puts 't2d' | |
a.join | |
puts Time.now - start |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment