Run details:
Mozilla/5.0 (X11; Linux x86_64; rv:103.0) Gecko/20100101 Firefox/103.0
Firefox 103
Linux
Desktop
2 years ago
Test name Executions per second
_.each 26440.8 Ops/sec
forEach 55992.6 Ops/sec
map 64245.7 Ops/sec
for..of 63891.8 Ops/sec
for loop 65764.3 Ops/sec
HTML Preparation code:
Script Preparation code:
Tests:
  • _.each

  • forEach

  • map

  • for..of

  • for loop


;