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