Update ReadMe.md
[qtwebkit.git] / JSTests / microbenchmarks / abc-forward-loop-equal.js
blobbed363ec4fd8f2ee7db9f0b1d554742068c003cc
1 function foo(array) {
2 var result = 0;
3 for (var i = 0; i != array.length; ++i)
4 result += array[i];
5 return result;
8 noInline(foo);
10 var array = [];
11 for (var i = 0; i < 1000; ++i)
12 array.push(i);
13 for (var i = 0; i < 50000; ++i)
14 foo(array);