Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
branch: master
Fetching contributors…

Cannot retrieve contributors at this time

7 lines (7 sloc) 0.222 kb
module ForloopsBenchmark
def run
range = 1..1000000
#list = range.to_list() # Note: weird thing happens when you uncoment this, it affects the speed of the NEXT test drastically
[ n for n in range ]
end
end
Jump to Line
Something went wrong with that request. Please try again.