Skip to content

Instantly share code, notes, and snippets.

@imustardsoft
Created June 6, 2013 19:54
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save imustardsoft/5724413 to your computer and use it in GitHub Desktop.
Save imustardsoft/5724413 to your computer and use it in GitHub Desktop.
benchmark
require 'benchmark'
result = Benchmark.measure do
"a"*1_000_000_000
end
puts result.total
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment