Run details:
Mozilla/5.0 (Linux; Android 8.1.0; Pixel Build/OPM4.171019.016.B1) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/65.0.3325.109 Mobile Safari/537.36 EdgA/41.0.0.1921
Safari537.36 edga/41.0.0
Android 8.1.0
Mobile
6 years ago
Test name Executions per second
querySelectorAll 811172.7 Ops/sec
getElementsByClassName 963817.6 Ops/sec
HTML Preparation code:
Tests:
  • querySelectorAll

  • getElementsByClassName