Sign in
webkit
/
WebKit
/
49c45f529348e27f11122daecbee33e4fa730919
/
.
/
JSTests
/
microbenchmarks
/
set-constructor.js
blob: d053cf24157d713caeecbf396c9da9114536fa3d [
file
] [
log
] [
blame
]
function
test
(
array
)
{
return
new
Set
(
array
);
}
noInline
(
test
);
var
array
=
[];
for
(
var
j
=
0
;
j
<
50
;
++
j
)
array
[
j
]
=
j
;
for
(
var
i
=
0
;
i
<
1e4
;
++
i
)
test
(
array
);