Run details:
Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/96.0.4664.110 Safari/537.36 OPR/82.0.4227.58
Opera 82
Windows
Desktop
2 years ago
Test name Executions per second
Umbrella JS .text 440845.8 Ops/sec
Umbrella JS .html 127445.4 Ops/sec
Umbrella JS .find().text() 98462.5 Ops/sec
jQuery .text() 172449.6 Ops/sec
jQuery .html() 134240.4 Ops/sec
jQuery .find().text() 159811.2 Ops/sec
jQuery .find().html() 133357.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()