Sign in
webkit
/
WebKit
/
1301b5dddcb28e452a3a8911596f68f5704bd0a8
/
.
/
JSTests
/
microbenchmarks
/
bound-function-construction-performance.js
blob: 44a50d3df5dafeea125cc0e89b42e9559b7e7dbe [
file
] [
log
] [
blame
]
//@ skip
function
makeBoundFunc
(
f
)
{
return
f
.
bind
(
f
);
}
noInline
(
makeBoundFunc
);
function
foo
()
{
function
f
()
{
}
for
(
let i
=
0
;
i
<
400000
;
i
++)
{
makeBoundFunc
(
f
);
}
}
foo
();