Run details:
Mozilla/5.0 (Android 5.0.2; Mobile; rv:51.0) Gecko/51.0 Firefox/51.0
Firefox Mobile 51
Android 5.0.2
Other
8 years ago
Test name Executions per second
getElementsByClassName 12623.5 Ops/sec
querySelectorAll 190.3 Ops/sec
HTML Preparation code:
Script Preparation code:
Tests:
  • getElementsByClassName

  • querySelectorAll