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
16 days ago
Test name Executions per second
forEach 7415045.0 Ops/sec
for 16116002.0 Ops/sec
for optimized 16133428.0 Ops/sec
reduce 15813537.0 Ops/sec
while 11888596.0 Ops/sec
for in 776158.1 Ops/sec
for of 6115275.5 Ops/sec
for of babel 3203.0 Ops/sec
HTML Preparation code:
Tests:
  • forEach

  • for

  • for optimized

  • reduce

  • while

  • for in

  • for of

  • for of babel