Run details:
Mozilla/5.0 (Linux; Android 10; CLT-L29) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/86.0.4240.75 Mobile Safari/537.36
Chrome Mobile 86
Android
Mobile
4 years ago
Test name Executions per second
Umbrella JS .text 118894.1 Ops/sec
Umbrella JS .html 53447.7 Ops/sec
Umbrella JS .find().text() 25009.4 Ops/sec
jQuery .text() 120509.0 Ops/sec
jQuery .html() 45210.9 Ops/sec
jQuery .find().text() 79752.7 Ops/sec
jQuery .find().html() 36779.7 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()