Run details:
Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:76.0) Gecko/20100101 Firefox/76.0
Firefox 76
Mac OS X 10.15
Desktop
4 years ago
Test name Executions per second
_.each 20202.2 Ops/sec
forEach 21099.6 Ops/sec
map 21212.7 Ops/sec
for..of 22198.8 Ops/sec
for loop 20582.9 Ops/sec
HTML Preparation code:
Script Preparation code:
Tests:
  • _.each

  • forEach

  • map

  • for..of

  • for loop


;