Sign in
fuchsia
/
third_party
/
webkit
/
d1989a3d4b7a2a0094d2d64c0d64f3113ad54a95
/
.
/
JSTests
/
microbenchmarks
/
bound-function-construction-performance.js
blob: 353d6acffb90acb7654c2329152cdf6ef89a7c14 [
file
] [
log
] [
blame
]
//@ skip
function
makeBoundFunc
(
f
)
{
return
f
.
bind
(
f
);
}
noInline
(
makeBoundFunc
);
function
foo
()
{
function
f
()
{
}
for
(
let i
=
0
;
i
<
15000000
;
i
++)
{
makeBoundFunc
(
f
);
}
}
foo
();