Run details:
Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/128.0.0.0 Safari/537.36
Chrome 128
Mac OS X 10.15.7
Desktop
2 years ago
Benchmark.js
ES6 destructuring
7.2M/s
_.merge
3.5M/s
View exact numbers
Test name Executions per second
ES6 destructuring 7,213,385 Ops/sec
_.merge 3,496,454 Ops/sec
HTML Preparation code:
Script Preparation code:
Tests: