Run details:
Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/96.0.4664.110 Safari/537.36
Chrome 96
Mac OS X 10.15.7
Desktop
2 years ago
Test name Executions per second
_.each 85338.2 Ops/sec
forEach 56949.5 Ops/sec
map 57140.1 Ops/sec
for..of 73828.9 Ops/sec
for loop 81648.7 Ops/sec
HTML Preparation code:
Script Preparation code:
Tests:
  • _.each

  • forEach

  • map

  • for..of

  • for loop


;