Run details:
Mozilla/5.0 (Windows NT 6.1; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/74.0.3729.131 Safari/537.36
Chrome 74
Windows 7
Desktop
5 years ago
Test name Executions per second
lodash - map 7501.1 Ops/sec
es6 - map 11398.9 Ops/sec
lodash - forEach 9191.9 Ops/sec
es6 - forEach 21258.6 Ops/sec
lodash - filter 5729.7 Ops/sec
es6 - filter 6605.4 Ops/sec
HTML Preparation code:
Script Preparation code:
Tests:
  • lodash - map

  • es6 - map

  • lodash - forEach

  • es6 - forEach

  • lodash - filter

  • es6 - filter