Run details:
Mozilla/5.0 (Linux; Android 7.1.2; SM-P900) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/108.0.0.0 Safari/537.36
Chrome 108
Android 7.1.2
Desktop
one year ago
Test name Executions per second
Array.from 92603.1 Ops/sec
Spread 147827.9 Ops/sec
Array.from on NodeList 1648.7 Ops/sec
Spread on NodeList 1742.2 Ops/sec
HTML Preparation code:
Script Preparation code:
Tests:
  • Array.from

  • Spread

  • Array.from on NodeList

  • Spread on NodeList