Run details:
Mozilla/5.0 (Macintosh; Intel Mac OS X 11_2_3) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/89.0.4389.114 Safari/537.36 Edg/89.0.774.76
Chrome 89
Mac OS X 11.2.3
Desktop
3 years ago
Test name Executions per second
Array.from 1992073.5 Ops/sec
Spread 2822435.2 Ops/sec
Array.from on NodeList 43155.0 Ops/sec
Spread on NodeList 42419.8 Ops/sec
HTML Preparation code:
Script Preparation code:
Tests:
  • Array.from

  • Spread

  • Array.from on NodeList

  • Spread on NodeList


;