Run details:
Mozilla/5.0 (iPhone; CPU iPhone OS 14_1 like Mac OS X) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/14.0 Mobile/15E148 Safari/604.1
Mobile Safari 14
iOS 14.1
Mobile
one month ago
Test name Executions per second
Array for-loop 14259.1 Ops/sec
Array for..of 42729.1 Ops/sec
Set for of 40839.3 Ops/sec
Set forEach 41573.5 Ops/sec
HTML Preparation code:
Script Preparation code:
Tests:
  • Array for-loop

  • Array for..of

  • Set for of

  • Set forEach