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