HTML Preparation code:
Script Preparation code:
Tests:
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 year 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
Search inside a HashMap of Strings (Vanilla JS)
4.9M/s
Search inside an Array of Strings (Vanilla JS)
3.3M/s
Using each (jQuery)
114K/s
Using find (jQuery)
60K/s
View exact numbers
Test name Executions per second
Search inside a HashMap of Strings (Vanilla JS) 4,918,308 Ops/sec
Search inside an Array of Strings (Vanilla JS) 3,337,428 Ops/sec
Using each (jQuery) 113,594 Ops/sec
Using find (jQuery) 59,876 Ops/sec