Sign in
webkit
/
WebKit
/
fb971e53364fe47e160b54a5b905b29514f3f69e
/
.
/
JSTests
/
microbenchmarks
/
repeat-multi-get-by-offset.js
blob: 37589f358d79ba2f611c16aca92079e74dcab1b7 [
file
] [
log
] [
blame
]
function
foo
(
o
)
{
return
o
.
f
+
o
.
g
;
}
noInline
(
foo
);
var
o
=
{
f
:
1
,
g
:
2
};
var
p
=
{
g
:
3
,
f
:
4
};
for
(
var
i
=
0
;
i
<
2000000
;
++
i
)
{
foo
(
o
);
foo
(
p
);
}