Toggle navigation
MeasureThat
.net
Create a benchmark
Tools
Feedback
Feature Requests
FAQ
Register
Log In
Run results for:
Direct call vs bind vs call vs apply
Go to the benchmark
Embed
Embed Benchmark Result
Run details:
User agent:
Mozilla/5.0 (Linux; Android 10; K) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/141.0.0.0 Mobile Safari/537.36
Browser:
Chrome Mobile 141
Operating system:
Android
Device Platform:
Mobile
Date tested:
11 months ago
Benchmark engine:
Benchmark.js
direct call
133.1M/s
call
119.4M/s
bind
116.2M/s
apply
108.5M/s
View exact numbers
Test name
Executions per second
✓
direct call
133,091,152 Ops/sec
call
119,353,328 Ops/sec
bind
116,205,592 Ops/sec
apply
108,490,056 Ops/sec
Script Preparation code:
function test(msg) { var d = msg; }
Tests:
direct call
test("Hello");
bind
test.bind(null, "Hello")();
call
test.call(null, "Hello");
apply
test.apply(null, ["Hello"]);