Run details:
Mozilla/5.0 (X11; Fedora; Linux x86_64; rv:71.0) Gecko/20100101 Firefox/71.0
Firefox 71
Fedora
Desktop
4 years ago
Test name Executions per second
lodash.each 2296.1 Ops/sec
lodash.map 1693.6 Ops/sec
Object.entries.map 731.5 Ops/sec
vanilla for-loop w/ Object.entries 784.3 Ops/sec
HTML Preparation code:
Script Preparation code:
Tests:
  • lodash.each

  • lodash.map

  • Object.entries.map

  • vanilla for-loop w/ Object.entries