Run details:
Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/131.0.0.0 Safari/537.36 Edg/131.0.0.0
Chrome 131
Windows
Desktop
28 days ago
Test name Executions per second
lodash.each 6541.1 Ops/sec
lodash.map 6308.8 Ops/sec
Object.entries.map 2602.3 Ops/sec
vanilla for-loop w/ Object.entries 3200.4 Ops/sec
lodash.forEach 6678.9 Ops/sec
Object.values 66147.1 Ops/sec
Object.keys 6121.4 Ops/sec
HTML Preparation code:
Script Preparation code:
Tests:
  • lodash.each

  • lodash.map

  • Object.entries.map

  • vanilla for-loop w/ Object.entries

  • lodash.forEach

  • Object.values

  • Object.keys