Test case name | Result |
---|---|
querySelector | |
querySelectorAll | |
getElementByClassName | |
find().first() | |
find().filter() | |
find(first) |
Test name | Executions per second |
---|---|
querySelector | 3239.7 Ops/sec |
querySelectorAll | 1155.0 Ops/sec |
getElementByClassName | 4386399.0 Ops/sec |
find().first() | 90870.2 Ops/sec |
find().filter() | 35150.4 Ops/sec |
find(first) | 56690.5 Ops/sec |