Script Preparation code:
Tests:
Rendered benchmark preparation results:

Suite status: <idle, ready to run>

Previous results
  • Test case name Result
    Array to Map and find
    Array.find

    Fastest: N/A

    Slowest: N/A

Latest run results:
Run details: (Test run date: one year ago)
Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/138.0.0.0 Safari/537.36 Edg/138.0.0.0
Chrome 138 on Linux
View result in a separate tab
Array to Map and find
24.5M/s
Array.find
1.2M/s
View exact numbers
Test name Executions per second
Array to Map and find 24,484,348 Ops/sec
Array.find 1,218,406 Ops/sec