Run details:
Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/120.0.0.0 Safari/537.36
Chrome 120
Mac OS X 10.15.7
Desktop
one year ago
Test name Executions per second
forEach 5310879.5 Ops/sec
for 12215772.0 Ops/sec
for optimized 12419293.0 Ops/sec
reduce 11450303.0 Ops/sec
while 9263716.0 Ops/sec
for in 595788.9 Ops/sec
for of 7241652.0 Ops/sec
for of babel 2011.7 Ops/sec
HTML Preparation code:
Tests:
  • forEach

  • for

  • for optimized

  • reduce

  • while

  • for in

  • for of

  • for of babel