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 1252569.9 Ops/sec
lodash compact 2468525.5 Ops/sec
Native filter 5540827.0 Ops/sec
Other Native way 1807885.2 Ops/sec
HTML Preparation code:
Script Preparation code:
Tests:
  • lodash filter

  • lodash compact

  • Native filter

  • Other Native way