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) |
Test name | Executions per second |
---|---|
Using each (jQuery) | 80386.8 Ops/sec |
Using find (jQuery) | 51141.2 Ops/sec |
Search inside an Array of Strings (Vanilla JS) | 1036566.0 Ops/sec |
Search inside a HashMap of Strings (Vanilla JS) | 1206065.0 Ops/sec |