Run details:
Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/130.0.0.0 Safari/537.36
Chrome 130
Windows
Desktop
one month ago
Test name Executions per second
forEach 3684977.8 Ops/sec
for 15443394.0 Ops/sec
for optimized 15672162.0 Ops/sec
reduce 14372275.0 Ops/sec
while 11410351.0 Ops/sec
for in 366141.8 Ops/sec
for of 6028644.5 Ops/sec
for of babel 532.2 Ops/sec
HTML Preparation code:
Tests:
  • forEach

  • for

  • for optimized

  • reduce

  • while

  • for in

  • for of

  • for of babel