Run details:
Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/126.0.0.0 Safari/537.36
Chrome 126
Mac OS X 10.15.7
Desktop
one month ago
Test name Executions per second
lodash compact 7454321.5 Ops/sec
compact helper fn 7665235.5 Ops/sec
es6 filter fn 9257544.0 Ops/sec
es6 filter fn boolean 4246284.5 Ops/sec
HTML Preparation code:
Script Preparation code:
Tests:
  • lodash compact

  • compact helper fn

  • es6 filter fn

  • es6 filter fn boolean


;