Run details:
Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/119.0.0.0 Safari/537.36
Chrome 119
Windows
Desktop
one year ago
Test name Executions per second
Spread 2730213.8 Ops/sec
use lodash 5422524.0 Ops/sec
Array.from 2182405.0 Ops/sec
For 1390301824.0 Ops/sec
For memory optimized 1390702208.0 Ops/sec
HTML Preparation code:
Tests:
  • Spread

  • use lodash

  • Array.from

  • For

  • For memory optimized