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