Run details:
Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/136.0.0.0 Safari/537.36
Chrome 136
Mac OS X 10.15.7
Desktop
one year ago
Benchmark.js
Destructure
64.8M/s
Array.prototype.concat
25.2M/s
Lodash concat
10.0M/s
View exact numbers
Test name Executions per second
Destructure 64,816,556 Ops/sec
Array.prototype.concat 25,234,060 Ops/sec
Lodash concat 9,992,447 Ops/sec
HTML Preparation code:
Tests: