Run details:
Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:123.0) Gecko/20100101 Firefox/123.0
Firefox 123
Windows
Desktop
8 months ago
Test name Executions per second
Array for-loop 260037.7 Ops/sec
Array for..of 1712059.5 Ops/sec
Set for of 668804.8 Ops/sec
Set forEach 1056628.1 Ops/sec
HTML Preparation code:
Script Preparation code:
Tests:
  • Array for-loop

  • Array for..of

  • Set for of

  • Set forEach