getElementsByClassName()[0] vs querySelectorAll()[0] vs querySelector() (v4)

Revision 4 of this benchmark created by Pomyk on


Test runner

Ready to run.

Testing in
TestOps/sec
ready
ready
ready

Revisions

You can edit these tests or add more tests to this page by appending /edit to the URL.

  • Revision 1: published by d-_-b on
  • Revision 2: published by Cristian S. on
  • Revision 4: published by Pomyk on