Run details:
Mozilla/5.0 (Linux; Android 8.0.0; SM-G6100) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/70.0.3538.80 Mobile Safari/537.36
Chrome Mobile 70
Android 8.0.0
Mobile
6 years ago
Test name Executions per second
querySelector 398446.0 Ops/sec
getElementsByClassName 559950.4 Ops/sec
HTML Preparation code:
Tests:
  • querySelector

  • getElementsByClassName