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