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