Sign in
webkit
/
WebKit
/
3edaba2ba8773ca7f680c84dc462d786504282f8
/
.
/
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
);
}