Toggle navigation
MeasureThat.net
Create a benchmark
Tools
Feedback
FAQ
Register
Log In
Run results for:
pop() vs array.length -= 1
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/132.0.0.0 Safari/537.36
Browser:
Chrome 132
Operating system:
Windows
Device Platform:
Desktop
Date tested:
one year ago
Test name
Executions per second
Array.pop()
27756040.0 Ops/sec
Array.length -= 1
11804821.0 Ops/sec
Tests:
Array.pop()
let array = new Array(25) array.pop()
Array.length -= 1
let array = new Array(25) array.length -= 1