Run details:
Mozilla/5.0 (Windows NT 6.1; WOW64; rv:56.0) Gecko/20100101 Firefox/56.0
Firefox 56
Windows 7
Desktop
5 years ago
Test name Executions per second
querySelector 1019078.8 Ops/sec
getElementsByClassName 1134983.8 Ops/sec
HTML Preparation code:
Script Preparation code:
Tests:
  • querySelector

  • getElementsByClassName


;