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.2M/s
Array.prototype.concat
7.7M/s
Lodash concat
2.4M/s
View exact numbers
Test name Executions per second
Destructure 19,194,648 Ops/sec
Array.prototype.concat 7,737,494 Ops/sec
Lodash concat 2,406,691 Ops/sec
HTML Preparation code:
Tests: