The method getElementsByClassName() vs The method querySelectorAll()| Test case name | Result |
|---|---|
| The method getElementsByClassName() | |
| The method querySelectorAll() |
| Test name | Executions per second |
|---|---|
| ✓ The method getElementsByClassName() | 6,847,589 Ops/sec |
| The method querySelectorAll() | 1,294,684 Ops/sec |