Run details:
Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:132.0) Gecko/20100101 Firefox/132.0
Firefox 132
Mac OS X 10.15
Desktop
one month ago
Test name Executions per second
For 27379612.0 Ops/sec
Foreach 13874883.0 Ops/sec
Do While 17427592.0 Ops/sec
While 27500722.0 Ops/sec
Script Preparation code:
Tests:
  • For

  • Foreach

  • Do While

  • While