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 10879.3 Ops/sec
convert to array: many items 138538.9 Ops/sec
native iterator: many items 10088.3 Ops/sec
native iterator w/ size: many items: 10020.5 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: