Run details:
Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:109.0) Gecko/20100101 Firefox/119.0
Firefox 119
Mac OS X 10.15
Desktop
one year ago
Test name Executions per second
for of: many items 10824.1 Ops/sec
convert to array: many items 137164.1 Ops/sec
native iterator: many items 9851.2 Ops/sec
native iterator w/ size: many items: 10050.6 Ops/sec
Script Preparation code:
Tests:
  • for of: many items

  • convert to array: many items

  • native iterator: many items

  • native iterator w/ size: many items: