Run details:
Mozilla/5.0 (X11; CrOS x86_64 14541.0.0) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/111.0.0.0 Safari/537.36
Chrome 111
Chrome OS 14541.0.0
Desktop
one year ago
Test name Executions per second
for 36804.7 Ops/sec
foreach 1982328.1 Ops/sec
some 2056772.5 Ops/sec
for..of 64324.8 Ops/sec
Script Preparation code:
Tests:
  • for

  • foreach

  • some

  • for..of


;