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