Script Preparation code:
Tests:
  • for loop

  • javascript array.find

  • javascript array.find with function

  • javascript array.find with function and index

Rendered benchmark preparation results:

Suite status: <idle, ready to run>

Previous results
  • Test case name Result
    for loop
    javascript array.find
    javascript array.find with function
    javascript array.find with function and index

    Fastest: N/A

    Slowest: N/A

Latest run results:
Run details: (Test run date: 9 months ago)
Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/121.0.0.0 Safari/537.36
Chrome 121 on Linux
View result in a separate tab
Test name Executions per second
for loop 548.6 Ops/sec
javascript array.find 4168.9 Ops/sec
javascript array.find with function 4167.5 Ops/sec
javascript array.find with function and index 4219.5 Ops/sec


;