Run details:
Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_6) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/78.0.3904.87 Safari/537.36
Chrome 78
Mac OS X 10.15.6
Desktop
4 years ago
Test name Executions per second
lodash filter 1360304.9 Ops/sec
lodash compact 2781909.8 Ops/sec
Native filter 5313918.5 Ops/sec
Other Native way 1774217.8 Ops/sec
HTML Preparation code:
Script Preparation code:
Tests:
  • lodash filter

  • lodash compact

  • Native filter

  • Other Native way