Run details:
Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/97.0.4692.99 Safari/537.36
Chrome 97
Linux
Desktop
2 years ago
Test name Executions per second
lodash filter 1536804.1 Ops/sec
lodash compact 3019377.8 Ops/sec
Native filter 4545553.5 Ops/sec
HTML Preparation code:
Script Preparation code:
Tests:
  • lodash filter

  • lodash compact

  • Native filter