Run details:
Mozilla/5.0 (Linux; Android 8.0.0; XT1650) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/71.0.3578.99 Mobile Safari/537.36
Chrome Mobile 71
Android 8.0.0
Mobile
5 years ago
Test name Executions per second
Umbrella JS .text 51494.5 Ops/sec
Umbrella JS .html 16003.4 Ops/sec
Umbrella JS .find().text() 6737.7 Ops/sec
jQuery .text() 42842.8 Ops/sec
jQuery .html() 14192.7 Ops/sec
jQuery .find().text() 36078.4 Ops/sec
jQuery .find().html() 13596.0 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()