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