Run details:
Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/128.0.0.0 Safari/537.36
Chrome 128
Windows
Desktop
4 months ago
Test name Executions per second
lodash compact 2276081.5 Ops/sec
compact helper fn 2823526.0 Ops/sec
es6 filter fn 3798592.8 Ops/sec
es6 filter fn boolean 1479824.4 Ops/sec
HTML Preparation code:
Script Preparation code:
Tests:
  • lodash compact

  • compact helper fn

  • es6 filter fn

  • es6 filter fn boolean