Skip to content
This repository
Newer
Older
100644 13 lines (13 sloc) 0.369 kb
41bfe0ca » Laurent Sansonetti
2010-06-09 added simple eval test
1 perf_test('lit') do
2 i = 0
3 while i < 1000
4 s = "#{i}"
5 eval(s); eval(s); eval(s); eval(s); eval(s)
6 eval(s); eval(s); eval(s); eval(s); eval(s)
7 eval(s); eval(s); eval(s); eval(s); eval(s)
8 eval(s); eval(s); eval(s); eval(s); eval(s)
9 eval(s); eval(s); eval(s); eval(s); eval(s)
10 eval(s); eval(s); eval(s); eval(s); eval(s)
11 i += 1
12 end
13 end
Something went wrong with that request. Please try again.