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 539.2 Ops/sec
use lodash 551.9 Ops/sec
Array.from 546.0 Ops/sec
For 15462410.0 Ops/sec
For memory optimized 15354840.0 Ops/sec
HTML Preparation code:
Script Preparation code:
Tests:
  • Spread

  • use lodash

  • Array.from

  • For

  • For memory optimized