Run details:
Mozilla/5.0 (Linux; Android 8.1.0; SM-T385K) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/86.0.4240.110 Safari/537.36
Chrome 86
Android 8.1.0
Tablet
3 years ago
Test name Executions per second
querySelector 257672.7 Ops/sec
getElementsByClassName 324329.4 Ops/sec
HTML Preparation code:
Tests:
  • querySelector

  • getElementsByClassName