HTML Preparation code:
Script Preparation code:
Tests:
  • querySelector

  • querySelectorAll

  • find().first()

  • find().filter()

  • find(first)

  • find()[0]

Rendered benchmark preparation results:

Suite status: <idle, ready to run>

Previous results
  • Test case name Result
    querySelector
    querySelectorAll
    find().first()
    find().filter()
    find(first)
    find()[0]

    Fastest: N/A

    Slowest: N/A

Latest run results:
Run details: (Test run date: 8 years ago)
Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/54.0.2840.59 Safari/537.36
Chrome 54 on Linux
View result in a separate tab
Test name Executions per second
querySelector 4268.5 Ops/sec
querySelectorAll 5858.8 Ops/sec
find().first() 5135.2 Ops/sec
find().filter() 5007.3 Ops/sec
find(first) 5204.8 Ops/sec
find()[0] 5503.4 Ops/sec