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