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