Run details:
Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/132.0.0.0 Safari/537.36
Chrome 132
Mac OS X 10.15.7
Desktop
one year ago
Benchmark.js
ES6 destructuring
15.4M/s
_.merge
7.4M/s
View exact numbers
Test name Executions per second
ES6 destructuring 15,372,934 Ops/sec
_.merge 7,350,931 Ops/sec
HTML Preparation code:
Script Preparation code:
Tests: