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 535.4 Ops/sec
use lodash 538.8 Ops/sec
Array.from 559.1 Ops/sec
For 15491293.0 Ops/sec
For memory optimized 15547500.0 Ops/sec
HTML Preparation code:
Script Preparation code:
Tests:
  • Spread

  • use lodash

  • Array.from

  • For

  • For memory optimized