Run details:
Mozilla/5.0 (Windows NT 6.3; WOW64; rv:46.0) Gecko/20100101 Firefox/46.0
Firefox 46
Windows 8.1
Other
7 years ago
Test name Executions per second
querySelector 3701.0 Ops/sec
querySelectorAll 3822.0 Ops/sec
find().first() 3436.3 Ops/sec
find().filter() 3390.2 Ops/sec
find(first) 3433.8 Ops/sec
find()[0] 3634.4 Ops/sec
HTML Preparation code:
Script Preparation code:
Tests:
  • querySelector

  • querySelectorAll

  • find().first()

  • find().filter()

  • find(first)

  • find()[0]


;