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

Benchmark created by d-_-b 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