Array.prototype.filter vs Lodash without 3

one month ago
User agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/104.0.0.0 Safari/537.36
Test name Executions per second
Array.prototype.filter 992.2 Ops/sec
Lodash without 772.8 Ops/sec
Slice 777.5 Ops/sec
HTML Preparation code:
Script Preparation code:
Tests:
  • Array.prototype.filter

  • Lodash without

  • Slice

Open this result on MeasureThat.net