Sign in
webkit
/
WebKit
/
d507f536e123365c4233f3083e0192532185e8fc
/
.
/
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
);
}