Run details:
Mozilla/5.0 (Linux; Android 10; Redmi Note 9 Pro) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/87.0.4280.66 Mobile Safari/537.36
Chrome Mobile 87
Android
Mobile
3 years ago
Test name Executions per second
Umbrella JS .text 223271.4 Ops/sec
Umbrella JS .html 56358.4 Ops/sec
Umbrella JS .find().text() 31031.5 Ops/sec
jQuery .text() 160658.3 Ops/sec
jQuery .html() 56902.8 Ops/sec
jQuery .find().text() 123270.4 Ops/sec
jQuery .find().html() 48478.1 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()