Run details:
Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/107.0.0.0 Safari/537.36
Chrome 107
Linux
Desktop
2 years ago
Test name Executions per second
Array.from 1812011.4 Ops/sec
Spread 2658273.0 Ops/sec
Array.from on NodeList 33672.4 Ops/sec
Spread on NodeList 35719.5 Ops/sec
HTML Preparation code:
Script Preparation code:
Tests:
  • Array.from

  • Spread

  • Array.from on NodeList

  • Spread on NodeList