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

  • getElementsByClassName