Run details:
Mozilla/5.0 (Linux; Android 7.1.2; Redmi 3 Build/NJH47F) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/68.0.3440.91 Mobile Safari/537.36
Chrome Mobile 68
Android 7.1.2
Mobile
6 years ago
Test name Executions per second
Umbrella JS .text 25208.9 Ops/sec
Umbrella JS .html 9145.5 Ops/sec
Umbrella JS .find().text() 4265.1 Ops/sec
jQuery .text() 23987.8 Ops/sec
jQuery .html() 9765.4 Ops/sec
jQuery .find().text() 19210.3 Ops/sec
jQuery .find().html() 7763.6 Ops/sec
HTML Preparation code:
Tests:
  • Umbrella JS .text

  • Umbrella JS .html

  • Umbrella JS .find().text()

  • jQuery .text()

  • jQuery .html()

  • jQuery .find().text()

  • jQuery .find().html()