Run details:
Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14_0) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/68.0.3440.106 Safari/537.36
Chrome 68
Mac OS X 10.14.0
Desktop
6 years ago
Test name Executions per second
querySelector 3225805.0 Ops/sec
getElementsByClassName 4056011.8 Ops/sec
HTML Preparation code:
Tests:
  • querySelector

  • getElementsByClassName


;