Run details:
Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/123.0.0.0 Safari/537.36
Chrome 123
Mac OS X 10.15.7
Desktop
2 years ago
Benchmark.js
Destructure
45.5M/s
Array.prototype.concat
18.1M/s
Lodash concat
6.0M/s
View exact numbers
Test name Executions per second
Destructure 45,460,380 Ops/sec
Array.prototype.concat 18,109,386 Ops/sec
Lodash concat 6,010,976 Ops/sec
HTML Preparation code:
Tests: