Run details:
Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/130.0.0.0 Safari/537.36
Chrome 130
Mac OS X 10.15.7
Desktop
one year ago
Benchmark.js
Destructure
54.6M/s
Array.prototype.concat
21.0M/s
Lodash concat
6.9M/s
View exact numbers
Test name Executions per second
Destructure 54,620,004 Ops/sec
Array.prototype.concat 20,950,596 Ops/sec
Lodash concat 6,881,658 Ops/sec
HTML Preparation code:
Tests: