Run details:
Mozilla/5.0 (X11; CrOS armv7l 13099.110.0) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/84.0.4147.136 Safari/537.36
Chrome 84
Chrome OS 13099.110.0
Desktop
3 years ago
Test name Executions per second
querySelector 615508.7 Ops/sec
getElementsByClassName 821095.9 Ops/sec
HTML Preparation code:
Tests:
  • querySelector

  • getElementsByClassName