Run details:
Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/84.0.4147.135 Safari/537.36
Chrome 84
Windows
Desktop
4 years ago
Test name Executions per second
lodash filter 974412.2 Ops/sec
lodash compact 1968076.5 Ops/sec
Native filter 2871317.0 Ops/sec
Other Native way 1238146.9 Ops/sec
HTML Preparation code:
Script Preparation code:
Tests:
  • lodash filter

  • lodash compact

  • Native filter

  • Other Native way