HTML Preparation code:
Tests:
  • Dex ::: first()

  • jQuery ::: first()

  • Dex ::: index()

  • jQuery ::: index()

  • Dex ::: getNode()

  • jQuery ::: get()

  • Dex ::: exists()

  • jQuery ::: exists equivalent

  • Dex ::: parent()

  • jQuery ::: parent()

  • Dex ::: closest()

  • jQuery ::: closest()

  • Dex ::: filter()

  • jQuery ::: find()

Rendered benchmark preparation results:

Suite status: <idle, ready to run>

Previous results
  • Test case name Result
    Dex ::: first()
    jQuery ::: first()
    Dex ::: index()
    jQuery ::: index()
    Dex ::: getNode()
    jQuery ::: get()
    Dex ::: exists()
    jQuery ::: exists equivalent
    Dex ::: parent()
    jQuery ::: parent()
    Dex ::: closest()
    jQuery ::: closest()
    Dex ::: filter()
    jQuery ::: find()

    Fastest: N/A

    Slowest: N/A

Latest run results:
Run details: (Test run date: 7 years ago)
Mozilla/5.0 (Macintosh; Intel Mac OS X 10_13_0) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/61.0.3163.100 Safari/537.36
Chrome 61 on Mac OS X 10.13.0
View result in a separate tab
Test name Executions per second
Dex ::: first() 2854246.2 Ops/sec
jQuery ::: first() 283138.9 Ops/sec
Dex ::: index() 2095012.4 Ops/sec
jQuery ::: index() 234540.1 Ops/sec
Dex ::: getNode() 2960902.5 Ops/sec
jQuery ::: get() 298972.6 Ops/sec
Dex ::: exists() 2939122.2 Ops/sec
jQuery ::: exists equivalent 307200.5 Ops/sec
Dex ::: parent() 2459514.5 Ops/sec
jQuery ::: parent() 399220.8 Ops/sec
Dex ::: closest() 1762376.8 Ops/sec
jQuery ::: closest() 292769.6 Ops/sec
Dex ::: filter() 925198.6 Ops/sec
jQuery ::: find() 39472.4 Ops/sec


;