Run details:
Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:125.0) Gecko/20100101 Firefox/125.0
Firefox 125
Windows
Desktop
8 months ago
Test name Executions per second
forEach 3602939.5 Ops/sec
for 7772519.0 Ops/sec
for optimized 8365714.5 Ops/sec
reduce 1234599.0 Ops/sec
while 6913578.5 Ops/sec
for in 399931.7 Ops/sec
for of 1209853.9 Ops/sec
for of babel 1529.4 Ops/sec
HTML Preparation code:
Tests:
  • forEach

  • for

  • for optimized

  • reduce

  • while

  • for in

  • for of

  • for of babel