Run details:
Mozilla/5.0 (Linux; Android 10; K) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/113.0.0.0 Mobile Safari/537.36
Chrome Mobile 113
Android
Mobile
one year ago
Test name Executions per second
querySelector 1406240.5 Ops/sec
querySelectorAll 740157.2 Ops/sec
getElementsByClassName 1553927.5 Ops/sec
querySelector (ID) 1003520.9 Ops/sec
getElementsByID 1527160.0 Ops/sec
HTML Preparation code:
Tests:
  • querySelector

  • querySelectorAll

  • getElementsByClassName

  • querySelector (ID)

  • getElementsByID


;