Run details:
Mozilla/5.0 (Windows NT 6.1; Win64; x64; rv:56.0) Gecko/20100101 Firefox/56.0 Waterfox/56.3
Firefox 56
Windows 7
Desktop
4 years ago
Test name Executions per second
querySelector 1373800.1 Ops/sec
getElementsByClassName 3548046.8 Ops/sec
HTML Preparation code:
Tests:
  • querySelector

  • getElementsByClassName


;