HTML Preparation code:
Script Preparation code:
Tests:
  • Lodash find(): Result at first index

  • Lodash find(): Result at middle index

  • Lodash find(): Result at last index

  • Lodash find(): No result

  • For loop: Result at first index

  • For loop: Result at middle index

  • For loop: Result at last index

  • For loop: No result

  • While loop: Result at first index

  • While loop: Result at middle index

  • While loop: Result at last index

  • While loop: No Result

Rendered benchmark preparation results:

Suite status: <idle, ready to run>

Previous results
  • Test case name Result
    Lodash find(): Result at first index
    Lodash find(): Result at middle index
    Lodash find(): Result at last index
    Lodash find(): No result
    For loop: Result at first index
    For loop: Result at middle index
    For loop: Result at last index
    For loop: No result
    While loop: Result at first index
    While loop: Result at middle index
    While loop: Result at last index
    While loop: No Result

    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/116.0.0.0 Safari/537.36
Chrome 116 on Windows
View result in a separate tab
Test name Executions per second
Lodash find(): Result at first index 3161747.0 Ops/sec
Lodash find(): Result at middle index 2901641.0 Ops/sec
Lodash find(): Result at last index 2689274.5 Ops/sec
Lodash find(): No result 2723375.5 Ops/sec
For loop: Result at first index 3546087.5 Ops/sec
For loop: Result at middle index 1165586.2 Ops/sec
For loop: Result at last index 705413.8 Ops/sec
For loop: No result 714212.1 Ops/sec
While loop: Result at first index 3567249.0 Ops/sec
While loop: Result at middle index 1181132.6 Ops/sec
While loop: Result at last index 707487.6 Ops/sec
While loop: No Result 709090.9 Ops/sec


;