Sign in
webkit
/
WebKit
/
247b0314320d499ae788b6ea993aa1d98e2d607e
/
.
/
JSTests
/
microbenchmarks
/
abc-postfix-backward-loop.js
blob: 5573d2f2c8dd2aad21444d75361e3ef1b641c8cb [
file
] [
log
] [
blame
]
function
foo
(
array
)
{
var
result
=
0
;
for
(
var
i
=
array
.
length
;
i
--;)
result
+=
array
[
i
];
return
result
;
}
noInline
(
foo
);
var
array
=
[];
for
(
var
i
=
0
;
i
<
1000
;
++
i
)
array
.
push
(
i
);
for
(
var
i
=
0
;
i
<
50000
;
++
i
)
foo
(
array
);