Run details:
Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/76.0.3788.1 Safari/537.36
Chrome 76
Windows
Desktop
5 years ago
Test name Executions per second
lodash.forEach 3787.0 Ops/sec
array.forEach 6235.4 Ops/sec
for loop 308.0 Ops/sec
HTML Preparation code:
Script Preparation code:
Tests:
  • lodash.forEach

  • array.forEach

  • for loop