Run details:
Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/89.0.4389.82 Safari/537.36
Chrome 89
Linux
Desktop
3 years ago
Test name Executions per second
_.each 39317.9 Ops/sec
forEach 36829.5 Ops/sec
map 34461.4 Ops/sec
for..of 35797.1 Ops/sec
for loop 37199.6 Ops/sec
HTML Preparation code:
Script Preparation code:
Tests:
  • _.each

  • forEach

  • map

  • for..of

  • for loop


;