Sign in
webkit
/
WebKit
/
836e821ba12ece51c9e96da322c23ddcb72e66b7
/
.
/
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
();