Run details:
Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/119.0.0.0 Safari/537.36
Chrome 119
Linux
Desktop
one year ago
Test name Executions per second
lodash.each 8294.1 Ops/sec
lodash.map 8395.3 Ops/sec
Object.entries.map 3287.5 Ops/sec
vanilla for-loop w/ Object.entries 3627.7 Ops/sec
lodash.forEach 8580.2 Ops/sec
Object.values 99433.7 Ops/sec
Object.keys 7757.0 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


;