HTML Preparation code:
Script Preparation code:
Tests:
  • Using each (jQuery)

  • Using find (jQuery)

  • Search inside an Array of Strings (Vanilla JS)

  • Search inside a HashMap of Strings (Vanilla JS)

Rendered benchmark preparation results:

Suite status: <idle, ready to run>

Previous results
  • Test case name Result
    Using each (jQuery)
    Using find (jQuery)
    Search inside an Array of Strings (Vanilla JS)
    Search inside a HashMap of Strings (Vanilla JS)

    Fastest: N/A

    Slowest: N/A

Latest run results:
Run details: (Test run date: one month ago)
Mozilla/5.0 (Android 10; Mobile; rv:133.0) Gecko/133.0 Firefox/133.0
Firefox Mobile 133 on Android
View result in a separate tab
Test name Executions per second
Using each (jQuery) 113594.3 Ops/sec
Using find (jQuery) 59876.5 Ops/sec
Search inside an Array of Strings (Vanilla JS) 3337428.5 Ops/sec
Search inside a HashMap of Strings (Vanilla JS) 4918308.5 Ops/sec