JS Filter Test large array

one year ago
User agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/109.0.0.0 Safari/537.36
Test name Executions per second
array.find 657159.7 Ops/sec
array.filter 723670.9 Ops/sec
lodash.filter 562198.1 Ops/sec
HTML Preparation code:
Script Preparation code:
Tests:
  • array.find

  • array.filter

  • lodash.filter

Open this result on MeasureThat.net