Toggle navigation
MeasureThat
.net
Create a benchmark
Tools
Feedback
FAQ
Register
Log In
Run results for:
Object destructuring performance
Go to the benchmark
Embed
Embed Benchmark Result
Run details:
User agent:
Mozilla/5.0 (iPhone; CPU iPhone OS 26_0_1 like Mac OS X) AppleWebKit/605.1.15 (KHTML, like Gecko) Brave/1 Mobile/15E148 Safari/604.1
Browser:
Mobile Safari 26
Operating system:
iOS 26.0.1
Device Platform:
Mobile
Date tested:
9 months ago
Without destructuring
416K/s
With destructuring and renaming
416K/s
With destructuring
415K/s
View exact numbers
Test name
Executions per second
✓
Without destructuring
415,981 Ops/sec
With destructuring and renaming
415,755 Ops/sec
With destructuring
415,284 Ops/sec
Tests:
Without destructuring
const array = new Array(3); for (let i = 0; i < 10000; i++) { const length = array.length; }
With destructuring
const array = new Array(3); for (let i = 0; i < 10000; i++) { const {length} = array; }
With destructuring and renaming
const array = new Array(3); for (let i = 0; i < 10000; i++) { const {length: property} = array; }