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