Run details:
Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:105.0) Gecko/20100101 Firefox/105.0
Firefox 105
Mac OS X 10.15
Desktop
2 years ago
Test name Executions per second
_.each 25040.4 Ops/sec
forEach 26462.3 Ops/sec
map 24968.1 Ops/sec
for..of 27230.4 Ops/sec
for loop 23405.6 Ops/sec
HTML Preparation code:
Script Preparation code:
Tests:
  • _.each

  • forEach

  • map

  • for..of

  • for loop


;