Sign in
webkit
/
WebKit
/
a9c91ce2c5aea1dcbb1791839037fd37c48643d1
/
.
/
JSTests
/
microbenchmarks
/
function-bind-creation.js
blob: 3f20c66c036a12842f6ab639b1342791f288fcdf [
file
] [
log
] [
blame
]
function
fn0
()
{}
function
fn1
(
a
)
{}
function
fn2
(
a
,
b
)
{}
function
fn3
(
a
,
b
,
c
)
{}
for
(
var
i
=
0
;
i
<
1e5
;
++
i
)
{
fn0
.
bind
();
fn1
.
bind
(
null
,
1
);
fn2
.
bind
(
null
,
2
);
fn3
.
bind
(
null
,
1
,
2
,
3
);
}