Run details:
Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_5) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/88.0.4324.152 Safari/537.36
Chrome 88
Mac OS X 10.15.5
Desktop
3 years ago
Test name Executions per second
lodash.each 2971.7 Ops/sec
lodash.map 2682.7 Ops/sec
Object.entries.map 846.2 Ops/sec
vanilla for-loop w/ Object.entries 939.1 Ops/sec
HTML Preparation code:
Script Preparation code:
Tests:
  • lodash.each

  • lodash.map

  • Object.entries.map

  • vanilla for-loop w/ Object.entries