Run details:
Mozilla/5.0 (Linux; Android 7.1.2) AppleWebKit/537.36 (KHTML, like Gecko) Version/4.0 Focus/1.5 Chrome/87.0.4280.101 Safari/537.36
Chrome 87
Android 7.1.2
Desktop
3 years ago
Test name Executions per second
querySelector 256555.3 Ops/sec
getElementsByClassName 298439.6 Ops/sec
HTML Preparation code:
Tests:
  • querySelector

  • getElementsByClassName


;