Skip to content
This repository
Fetching contributors…

Cannot retrieve contributors at this time

file 13 lines (13 sloc) 0.369 kb
1 2 3 4 5 6 7 8 9 10 11 12 13
perf_test('lit') do
  i = 0
  while i < 1000
    s = "#{i}"
    eval(s); eval(s); eval(s); eval(s); eval(s)
    eval(s); eval(s); eval(s); eval(s); eval(s)
    eval(s); eval(s); eval(s); eval(s); eval(s)
    eval(s); eval(s); eval(s); eval(s); eval(s)
    eval(s); eval(s); eval(s); eval(s); eval(s)
    eval(s); eval(s); eval(s); eval(s); eval(s)
    i += 1
  end
end
Something went wrong with that request. Please try again.