Sign in
webkit
/
WebKit
/
b0d7f9b249dd6483d6c7bc4f13c440c0842b7127
/
.
/
JSTests
/
microbenchmarks
/
for-in-on-object-with-lazily-materialized-properties.js
blob: be0511a4372047526d934e927dc40fcbb0341a36 [
file
] [
log
] [
blame
]
function
foo
(
o
)
{
var
count
=
0
;
for
(
var
p in o
)
{
if
(
o
[
p
])
count
++;
}
return
count
;
}
noInline
(
foo
);
var
total
=
0
;
for
(
let j
=
0
;
j
<
100000
;
++
j
)
total
+=
foo
(
new
Error
);