Run details:
Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/123.0.0.0 Safari/537.36
Chrome 123
Windows
Desktop
7 months ago
Test name Executions per second
forEach 5204215.5 Ops/sec
for 12955738.0 Ops/sec
for optimized 13146444.0 Ops/sec
reduce 13897053.0 Ops/sec
while 9609784.0 Ops/sec
for in 468337.1 Ops/sec
for of 2743700.8 Ops/sec
for of babel 1738.1 Ops/sec
HTML Preparation code:
Tests:
  • forEach

  • for

  • for optimized

  • reduce

  • while

  • for in

  • for of

  • for of babel