Test case name | Result |
---|---|
querySelector | |
querySelectorAll | |
find().first() | |
find().filter() | |
find(first) | |
find()[0] |
Test name | Executions per second |
---|---|
querySelector | 4268.5 Ops/sec |
querySelectorAll | 5858.8 Ops/sec |
find().first() | 5135.2 Ops/sec |
find().filter() | 5007.3 Ops/sec |
find(first) | 5204.8 Ops/sec |
find()[0] | 5503.4 Ops/sec |