Run details:
Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/131.0.0.0 Safari/537.36
Chrome 131
Mac OS X 10.15.7
Desktop
27 days ago
Test name Executions per second
forEach 2984208.5 Ops/sec
for 10116943.0 Ops/sec
for optimized 10394070.0 Ops/sec
reduce 11460034.0 Ops/sec
while 6070635.5 Ops/sec
for in 266177.5 Ops/sec
for of 3324383.2 Ops/sec
for of babel 399.6 Ops/sec
HTML Preparation code:
Tests:
  • forEach

  • for

  • for optimized

  • reduce

  • while

  • for in

  • for of

  • for of babel