Run details:
Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14_6) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/77.0.3865.75 Safari/537.36
Chrome 77
Mac OS X 10.14.6
Desktop
5 years ago
Test name Executions per second
lodash.each 3458.5 Ops/sec
lodash.map 2652.2 Ops/sec
Object.entries.map 1180.8 Ops/sec
vanilla for-loop w/ Object.entries 1378.7 Ops/sec
HTML Preparation code:
Script Preparation code:
Tests:
  • lodash.each

  • lodash.map

  • Object.entries.map

  • vanilla for-loop w/ Object.entries


;