Sign in
webkit
/
WebKit
/
293423b2e3bc99a3b6b08c9e39c59d8eb89f00e1
/
.
/
JSTests
/
microbenchmarks
/
temporal-structure.js
blob: f2a82f1670a8b09c28186dbaa857c198cf29123b [
file
] [
log
] [
blame
]
function
foo
(
o
)
{
return
o
.
f
;
}
var
o
=
{
f
:
42
};
var
result
=
0
;
for
(
var
i
=
0
;
i
<
500
;
++
i
)
{
for
(
var
j
=
0
;
j
<
10000
;
++
j
)
result
+=
foo
(
o
);
o
.
g
=
43
;
}
if
(
result
!=
210000000
)
throw
"Bad result: "
+
result
;