Sign in
webkit
/
WebKit
/
1ebf7e1e8f30e7430c10eeac68b89a569f4602b2
/
.
/
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
();