Run details:
Mozilla/5.0 (Linux; Android 11; SAMSUNG SM-A715F) AppleWebKit/537.36 (KHTML, like Gecko) SamsungBrowser/14.0 Chrome/87.0.4280.141 Mobile Safari/537.36
Chrome Mobile 87
Android
Mobile
3 years ago
Test name Executions per second
Umbrella JS .text 99409.9 Ops/sec
Umbrella JS .html 37261.6 Ops/sec
Umbrella JS .find().text() 21498.6 Ops/sec
jQuery .text() 160561.1 Ops/sec
jQuery .html() 47336.7 Ops/sec
jQuery .find().text() 128796.4 Ops/sec
jQuery .find().html() 40800.3 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()