Run details:
Mozilla/5.0 (Linux; Android 8.0.0; ASUS_Z017DB) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/74.0.3729.157 Mobile Safari/537.36
Chrome Mobile 74
Android 8.0.0
Mobile
5 years ago
Test name Executions per second
querySelector 459281.8 Ops/sec
getElementsByClassName 647870.2 Ops/sec
HTML Preparation code:
Tests:
  • querySelector

  • getElementsByClassName