Run details:
Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:85.0) Gecko/20100101 Firefox/85.0
Firefox 85
Windows
Desktop
3 years ago
Test name Executions per second
Umbrella JS .text 39107.1 Ops/sec
Umbrella JS .html 38915.3 Ops/sec
Umbrella JS .find().text() 18911.7 Ops/sec
jQuery .text() 88651.0 Ops/sec
jQuery .html() 77760.6 Ops/sec
jQuery .find().text() 46592.8 Ops/sec
jQuery .find().html() 43835.9 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()