Run details:
Mozilla/5.0 (Linux; Android 10; IN2010) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/85.0.4183.127 Mobile Safari/537.36
Chrome Mobile 85
Android
Mobile
4 years ago
Test name Executions per second
querySelector 1654390.0 Ops/sec
getElementsByClassName 2167350.2 Ops/sec
HTML Preparation code:
Tests:
  • querySelector

  • getElementsByClassName