Run details:
Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_5) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/84.0.4147.89 Safari/537.36 OPR/70.0.3728.59 (Edition beta)
Opera 70
Mac OS X 10.15.5
Desktop
4 years ago
Test name Executions per second
lodash.each 3206.4 Ops/sec
lodash.map 3311.6 Ops/sec
Object.entries.map 1123.3 Ops/sec
vanilla for-loop w/ Object.entries 1315.8 Ops/sec
HTML Preparation code:
Script Preparation code:
Tests:
  • lodash.each

  • lodash.map

  • Object.entries.map

  • vanilla for-loop w/ Object.entries