Run details:
Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/87.0.4280.88 Safari/537.36
Chrome 87
Linux
Desktop
3 years ago
Test name Executions per second
Array.from 1705496.0 Ops/sec
Spread 2493124.0 Ops/sec
Array.from on NodeList 32639.1 Ops/sec
Spread on NodeList 31225.6 Ops/sec
HTML Preparation code:
Script Preparation code:
Tests:
  • Array.from

  • Spread

  • Array.from on NodeList

  • Spread on NodeList


;