Run details:
Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14_5) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/75.0.3770.100 Safari/537.36
Chrome 75
Mac OS X 10.14.5
Desktop
5 years ago
Test name Executions per second
lodash - map 669745.8 Ops/sec
es6 - map 2894005.2 Ops/sec
lodash - forEach 768254.9 Ops/sec
es6 - forEach 8655656.0 Ops/sec
lodash - filter 477454.3 Ops/sec
es6 - filter 2001964.2 Ops/sec
HTML Preparation code:
Script Preparation code:
Tests:
  • lodash - map

  • es6 - map

  • lodash - forEach

  • es6 - forEach

  • lodash - filter

  • es6 - filter