Sign in
webkit
/
WebKit
/
6ddc9d48eb4dde936b8551b5167248cba0f85d9c
/
.
/
JSTests
/
microbenchmarks
/
to-string-on-cow-array.js
blob: 97e4b8955e34feef6288ddcfdc1cf78cc0fb2698 [
file
] [
log
] [
blame
]
let arrays
=
[
[
0
,
0
],
[
0
,
1
],
[
1
,
0
],
[
1
,
1
],
];
function
foo
(
arr
)
{
return
arr
.
toString
();
}
noInline
(
foo
);
for
(
let i
=
0
;
i
<
30000
;
++
i
)
{
for
(
let arr of arrays
)
foo
(
arr
);
}