Toggle navigation
MeasureThat
.net
Create a benchmark
Tools
Feedback
Feature Requests
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
Benchmark engine:
Benchmark.js
Without desctructurization
2756.0M/s
With desctructurization
210.5M/s
View exact numbers
Test name
Executions per second
✓
Without desctructurization
2,755,969,280 Ops/sec
With desctructurization
210,533,488 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;