Toggle navigation
MeasureThat.net
Create a benchmark
Tools
Feedback
FAQ
Register
Log In
Run results for:
array[] vs array.at()
Go to the benchmark
Embed
Embed Benchmark Result
Run details:
User agent:
Mozilla/5.0 (iPhone; CPU iPhone OS 17_6_1 like Mac OS X) AppleWebKit/605.1.15 (KHTML, like Gecko) CriOS/132.0.6834.78 Mobile/15E148 Safari/604.1
Browser:
Chrome Mobile iOS 132
Operating system:
iOS 17.6.1
Device Platform:
Mobile
Date tested:
one year ago
Test name
Executions per second
array[0]
433176800.0 Ops/sec
array.at(0)
193191536.0 Ops/sec
Script Preparation code:
var array = [0, 1, 2, 3]
Tests:
array[0]
const a = array[0]
array.at(0)
const b = array.at(0)