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
19.0M/s
Array.prototype.concat
7.7M/s
Lodash concat
2.4M/s
View exact numbers
Test name Executions per second
Destructure 19,032,430 Ops/sec
Array.prototype.concat 7,704,884 Ops/sec
Lodash concat 2,409,475 Ops/sec
HTML Preparation code:
Tests: