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