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