Run details:
Mozilla/5.0 (X11; Linux x86_64; rv:108.0) Gecko/20100101 Firefox/108.0
Firefox 108
Linux
Desktop
9 months ago
Test name Executions per second
Array.from(NodeList).map 1501167.2 Ops/sec
[...NodeList].map 1522072.1 Ops/sec
map.call(NodeList) 1632354.1 Ops/sec
NodeList#map 1571216.9 Ops/sec
for loop 1577164.8 Ops/sec
Script Preparation code:
Tests:
  • Array.from(NodeList).map

  • [...NodeList].map

  • map.call(NodeList)

  • NodeList#map

  • for loop


;