Run details:
Mozilla/5.0 (Windows NT 5.1; rv:52.0) Gecko/20100101 Firefox/52.0
Firefox 52
Windows XP
Desktop
5 years ago
Test name Executions per second
querySelector 1319922.4 Ops/sec
getElementsByClassName 12781186.0 Ops/sec
HTML Preparation code:
Tests:
  • querySelector

  • getElementsByClassName


;