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
11.2M/s
Array.prototype.concat
10.1M/s
Lodash concat
1.2M/s
View exact numbers
Test name Executions per second
Destructure 11,169,930 Ops/sec
Array.prototype.concat 10,076,290 Ops/sec
Lodash concat 1,158,722 Ops/sec
HTML Preparation code:
Tests: