Run details:
Mozilla/5.0 (Linux; Android 8.1.0; Studio X8 HD) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/85.0.4183.127 Mobile Safari/537.36
Chrome Mobile 85
Android 8.1.0
Mobile
4 years ago
Test name Executions per second
lodash.each 86.8 Ops/sec
lodash.map 88.5 Ops/sec
Object.entries.map 45.5 Ops/sec
vanilla for-loop w/ Object.entries 47.8 Ops/sec
HTML Preparation code:
Script Preparation code:
Tests:
  • lodash.each

  • lodash.map

  • Object.entries.map

  • vanilla for-loop w/ Object.entries