Sign in
webkit
/
WebKit
/
23e576feb4d75c9fc45f35cc19515c4cf11389a1
/
.
/
JSTests
/
microbenchmarks
/
map-has-and-set.js
blob: 003e9b09254058727ccfaf5f8bf628d322b985d3 [
file
] [
log
] [
blame
]
//@ skip if $model == "Apple Watch Series 3" # added by mark-jsc-stress-test.py
function
test
()
{
let map
=
new
Map
();
for
(
let i
=
0
;
i
<
1e6
;
++
i
)
{
if
(!
map
.
has
(
i
))
map
.
set
(
i
,
i
);
}
return
map
}
noInline
(
test
);
test
();