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:
6 months ago
Test name
Executions per second
Without destructuring
415981.2 Ops/sec
With destructuring
415284.0 Ops/sec
With destructuring and renaming
415754.8 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; }