Run details:
Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/131.0.0.0 Safari/537.36
Chrome 131
Linux
Desktop
one year ago
Benchmark.js
Destructure
27.3M/s
Array.prototype.concat
6.9M/s
Lodash concat
3.1M/s
View exact numbers
Test name Executions per second
Destructure 27,313,368 Ops/sec
Array.prototype.concat 6,932,404 Ops/sec
Lodash concat 3,099,116 Ops/sec
HTML Preparation code:
Tests: