Test case name | Result |
---|---|
!!closest.length | |
== and parentNodes | |
!!closest.length selector | |
== and parentNodes selector |
Test name | Executions per second |
---|---|
!!closest.length | 666465.9 Ops/sec |
== and parentNodes | 3090106.0 Ops/sec |
!!closest.length selector | 345803.7 Ops/sec |
== and parentNodes selector | 108277.2 Ops/sec |