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