dom1 vs qsa1 vs qs1

Edit on GitHub

Setup

Tests

  • dom1

    document.getElementsByTagName("input");
  • qsa1

    document.querySelectorAll("input")
  • qs1

    document.querySelector("input")