Test name | Executions per second |
---|---|
querySelector (className) | 2981195.0 Ops/sec |
querySelectorAll (className) | 1301309.2 Ops/sec |
getElementsByClassName | 5571702.0 Ops/sec |
querySelector (elemID) | 2881979.5 Ops/sec |
querySelectorAll (elemID) | 1094596.8 Ops/sec |
getElementsByID | 5713953.5 Ops/sec |