Run details:
Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:123.0) Gecko/20100101 Firefox/123.0
Firefox 123
Windows
Desktop
9 months ago
Test name Executions per second
foreach 47623.8 Ops/sec
for-in 7774.7 Ops/sec
for-of 39518.7 Ops/sec
for 51240.2 Ops/sec
optimized-for 45192.7 Ops/sec
map 33381.3 Ops/sec
reduce 30403.2 Ops/sec
Tests:
  • foreach

  • for-in

  • for-of

  • for

  • optimized-for

  • map

  • reduce