Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- >> Benchmark.bm do |x|
- ?> x.report { 1000.times do; var1 + var2; end }
- >> x.report { 1000.times do; "#{var1}#{var2}"; end }
- >> end
- user system total real
- 0.000000 0.000000 0.000000 ( 0.000688)
- 0.000000 0.000000 0.000000 ( 0.000950)
- => true
Add Comment
Please, Sign In to add comment