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