Run details:
Mozilla/5.0 (Linux; Android 13; 2201123G) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/119.0.6045.193 Mobile Safari/537.36 OPR/79.5.4195.76987
Opera Mobile 79
Android
Mobile
10 months ago
Test name Executions per second
querySelector 2012290.5 Ops/sec
querySelectorAll 931680.4 Ops/sec
getElementsByClassName 2465763.0 Ops/sec
querySelector (ID) 1458194.1 Ops/sec
getElementsByID 2037633.4 Ops/sec
HTML Preparation code:
Tests:
  • querySelector

  • querySelectorAll

  • getElementsByClassName

  • querySelector (ID)

  • getElementsByID


;