Toggle navigation
MeasureThat.net
Create a benchmark
Tools
Feedback
FAQ
Register
Log In
Run results for:
Test of destructurization
Go to the benchmark
Embed
Embed Benchmark Result
Run details:
User agent:
Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:134.0) Gecko/20100101 Firefox/134.0
Browser:
Firefox 134
Operating system:
Windows
Device Platform:
Desktop
Date tested:
one year ago
Test name
Executions per second
Without desctructurization
2751551744.0 Ops/sec
With desctructurization
207347760.0 Ops/sec
Tests:
Without desctructurization
const obj = {a: 1, b: 2, c: 3} const d = obj.a + obj.b + obj.c;
With desctructurization
const obj = {a: 1, b: 2, c: 3} const {a, b, c} = obj; const d = a + b + c;