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
8 months ago
Test name Executions per second
forEach 5196050.0 Ops/sec
for 13010101.0 Ops/sec
for optimized 13093111.0 Ops/sec
reduce 13964278.0 Ops/sec
while 9630453.0 Ops/sec
for in 470157.5 Ops/sec
for of 2740664.2 Ops/sec
for of babel 1767.0 Ops/sec
HTML Preparation code:
Tests:
  • forEach

  • for

  • for optimized

  • reduce

  • while

  • for in

  • for of

  • for of babel