Run details:
Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:104.0) Gecko/20100101 Firefox/104.0
Firefox 104
Ubuntu
Desktop
2 years ago
Test name Executions per second
_.each 22314.5 Ops/sec
forEach 23202.7 Ops/sec
map 22634.9 Ops/sec
for..of 23155.3 Ops/sec
for loop 23956.2 Ops/sec
HTML Preparation code:
Script Preparation code:
Tests:
  • _.each

  • forEach

  • map

  • for..of

  • for loop


;