Toggle navigation
MeasureThat
.net
Create a benchmark
Tools
Feedback
FAQ
Register
Log In
Run results for:
Direct call vs bound call vs call vs apply
Go to the benchmark
Embed
Embed Benchmark Result
Run details:
User agent:
Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/134.0.0.0 Safari/537.36
Browser:
Chrome 134
Operating system:
Windows
Device Platform:
Desktop
Date tested:
one year ago
direct call
112.3M/s
bind
102.7M/s
apply
102.2M/s
call
82.0M/s
View exact numbers
Test name
Executions per second
✓
direct call
112,271,040 Ops/sec
bind
102,724,704 Ops/sec
apply
102,240,304 Ops/sec
call
82,008,872 Ops/sec
Script Preparation code:
function test(msg) { var d = msg; } var bound = test.bind(null, "Hello");
Tests:
direct call
test("Hello");
bind
bound();
call
test.call(null, "Hello");
apply
test.apply(null, ["Hello"]);