JS Filter Test large array

one year ago
User agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/116.0.0.0 Safari/537.36
Test name Executions per second
array.find 1342776.0 Ops/sec
array.filter 1321954.8 Ops/sec
lodash.filter 1213455.4 Ops/sec
HTML Preparation code:
Script Preparation code:
Tests:
  • array.find

  • array.filter

  • lodash.filter

Open this result on MeasureThat.net