Run details:
Mozilla/5.0 (Windows NT 6.1) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/96.0.4664.113 Safari/537.36
Chrome 96
Windows 7
Desktop
3 years ago
Test name Executions per second
Umbrella JS .text 55810.6 Ops/sec
Umbrella JS .html 7596.8 Ops/sec
Umbrella JS .find().text() 6563.8 Ops/sec
jQuery .text() 6962.0 Ops/sec
jQuery .html() 9249.4 Ops/sec
jQuery .find().text() 7046.9 Ops/sec
jQuery .find().html() 8333.8 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()