Run details:
Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:96.0) Gecko/20100101 Firefox/96.0
Firefox 96
Mac OS X 10.15
Desktop
3 years ago
Test name Executions per second
forEach 3666441.0 Ops/sec
for 11834750.0 Ops/sec
for optimized 11851616.0 Ops/sec
reduce 1684352.8 Ops/sec
while 7886983.5 Ops/sec
for in 139821.7 Ops/sec
for of 895.8 Ops/sec
for of babel 6.5 Ops/sec
HTML Preparation code:
Tests:
  • forEach

  • for

  • for optimized

  • reduce

  • while

  • for in

  • for of

  • for of babel