Run details:
Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:108.0) Gecko/20100101 Firefox/108.0
Firefox 108
Mac OS X 10.15
Desktop
2 years ago
Test name Executions per second
forEach 3869771.5 Ops/sec
for 11838386.0 Ops/sec
for optimized 11790785.0 Ops/sec
reduce 1771182.6 Ops/sec
while 8696334.0 Ops/sec
for in 895886.6 Ops/sec
for of 1870579.6 Ops/sec
for of babel 3144.5 Ops/sec
HTML Preparation code:
Tests:
  • forEach

  • for

  • for optimized

  • reduce

  • while

  • for in

  • for of

  • for of babel