Run details:
Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14_0) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/73.0.3683.86 Safari/537.36
Chrome 73
Mac OS X 10.14.0
Desktop
5 years ago
Test name Executions per second
Array.from 1818685.9 Ops/sec
Spread 2750132.2 Ops/sec
Array.from on NodeList 26179.2 Ops/sec
Spread on NodeList 32390.0 Ops/sec
HTML Preparation code:
Script Preparation code:
Tests:
  • Array.from

  • Spread

  • Array.from on NodeList

  • Spread on NodeList