HTML Preparation code:
Script Preparation code:
Tests:

Historical Performance Data aggregated from 20 community runs

Desktop Results:
Chrome 20 runs
array.filter
1.2M/s
array.find
1.1M/s
lodash.filter
1.1M/s
View exact numbers
  • array.filter: 1,162,225 ops/sec
  • array.find: 1,136,888 ops/sec
  • lodash.filter: 1,064,814 ops/sec

Results show median performance across all community submissions. Run this benchmark yourself to verify on your device.

Rendered benchmark preparation results:

Suite status: <idle, ready to run>

Previous results
  • Test case name Result
    array.find
    array.filter
    lodash.filter

    Fastest: N/A

    Slowest: N/A

Latest run results:
Run details: (Test run date: one year ago)
Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/137.0.0.0 Safari/537.36
Chrome 137 on Windows
View result in a separate tab
array.filter
7.4M/s
array.find
1.8M/s
lodash.filter
1.4M/s
View exact numbers
Test name Executions per second
array.filter 7,449,522 Ops/sec
array.find 1,825,833 Ops/sec
lodash.filter 1,363,323 Ops/sec