Sign in
webkit
/
WebKit
/
b4d1c08751d6262c6b099d39e4a06ee65f97bb77
/
.
/
JSTests
/
microbenchmarks
/
map-constructor.js
blob: 9e542a4e1894062a3942cd7745ba52cd52c5810a [
file
] [
log
] [
blame
]
function
test
(
array
)
{
return
new
Map
(
array
);
}
noInline
(
test
);
var
array
=
[];
for
(
var
j
=
0
;
j
<
50
;
++
j
)
array
[
j
]
=
[
j
,
0
];
for
(
var
i
=
0
;
i
<
1e4
;
++
i
)
test
(
array
);