Run details:
Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/116.0.0.0 Safari/537.36
Chrome 116
Linux
Desktop
one year ago
Test name Executions per second
lodash compact 1583073.1 Ops/sec
compact helper fn 2083499.6 Ops/sec
es6 filter fn 2811419.5 Ops/sec
es6 filter fn boolean 1033457.9 Ops/sec
HTML Preparation code:
Script Preparation code:
Tests:
  • lodash compact

  • compact helper fn

  • es6 filter fn

  • es6 filter fn boolean


;