Run details:
Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/133.0.0.0 Safari/537.36
Chrome 133
Mac OS X 10.15.7
Desktop
one year ago
Benchmark.js
Destructure
42.0M/s
Array.prototype.concat
16.5M/s
Lodash concat
8.0M/s
View exact numbers
Test name Executions per second
Destructure 41,997,848 Ops/sec
Array.prototype.concat 16,503,202 Ops/sec
Lodash concat 7,970,820 Ops/sec
HTML Preparation code:
Tests: