repo.or.cz
/
qtwebkit.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
history
|
raw
|
HEAD
Update ReadMe.md
[qtwebkit.git]
/
JSTests
/
microbenchmarks
/
to-string-on-cow-array.js
blob
97e4b8955e34feef6288ddcfdc1cf78cc0fb2698
1
let arrays = [
2
[0,0],
3
[0,1],
4
[1,0],
5
[1,1],
6
];
7
8
function foo(arr) {
9
return arr.toString();
10
}
11
noInline(foo);
12
13
for (let i = 0; i < 30000; ++i) {
14
for (let arr of arrays)
15
foo(arr);
16
}