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 7511.8 Ops/sec
es6 - map 13768.9 Ops/sec
lodash - forEach 8590.0 Ops/sec
es6 - forEach 24704.7 Ops/sec
lodash - filter 5467.5 Ops/sec
es6 - filter 6706.5 Ops/sec
HTML Preparation code:
Script Preparation code:
Tests:
  • lodash - map

  • es6 - map

  • lodash - forEach

  • es6 - forEach

  • lodash - filter

  • es6 - filter