Run details:
Mozilla/5.0 (Linux; Android 9; ANE-LX1) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/99.0.4844.58 Mobile Safari/537.36
Chrome Mobile 99
Android
Mobile
2 years ago
Test name Executions per second
Umbrella JS .text 44500.7 Ops/sec
Umbrella JS .html 15445.5 Ops/sec
Umbrella JS .find().text() 8865.2 Ops/sec
jQuery .text() 35961.1 Ops/sec
jQuery .html() 16697.0 Ops/sec
jQuery .find().text() 27823.0 Ops/sec
jQuery .find().html() 12950.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()