Script Preparation code:
Tests:

Historical Performance Data aggregated from 5 community runs

Desktop Results:
Chrome 5 runs
find method function
49K/s
find method =>
48K/s
reversed for loop
48K/s
View exact numbers
  • find method function: 48,954 ops/sec
  • find method =>: 47,834 ops/sec
  • reversed for loop: 47,521 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
    reversed for loop
    find method =>
    find method function

    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/131.0.0.0 Safari/537.36
Chrome 131 on Windows
View result in a separate tab
reversed for loop
48K/s
find method function
47K/s
find method =>
44K/s
View exact numbers
Test name Executions per second
reversed for loop 48,209 Ops/sec
find method function 46,728 Ops/sec
find method => 43,891 Ops/sec