HTML Preparation code:
Tests:
  • jquery Get ID

  • jquery Get class

  • jQuery Get Text

  • jQuery Get Html

  • jQuery add class

  • Zepto Get ID

  • Zepto get class

  • Zepto Get Text

  • Zepto Get Html

  • Zepto add class

Rendered benchmark preparation results:

Suite status: <idle, ready to run>

Previous results
  • Test case name Result
    jquery Get ID
    jquery Get class
    jQuery Get Text
    jQuery Get Html
    jQuery add class
    Zepto Get ID
    Zepto get class
    Zepto Get Text
    Zepto Get Html
    Zepto add class

    Fastest: N/A

    Slowest: N/A

Latest run results:
Run details: (Test run date: 2 years ago)
Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/100.0.4896.75 Safari/537.36
Chrome 100 on Windows
View result in a separate tab
Test name Executions per second
jquery Get ID 1209251.6 Ops/sec
jquery Get class 733604.9 Ops/sec
jQuery Get Text 670458.9 Ops/sec
jQuery Get Html 921413.0 Ops/sec
jQuery add class 453850.1 Ops/sec
Zepto Get ID 1293536.9 Ops/sec
Zepto get class 787550.4 Ops/sec
Zepto Get Text 570876.7 Ops/sec
Zepto Get Html 910667.2 Ops/sec
Zepto add class 299246.3 Ops/sec