Run details:
Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/89.0.4389.128 Safari/537.36
Chrome 89
Windows
Desktop
3 years ago
Test name Executions per second
Umbrella JS .text 152388.6 Ops/sec
Umbrella JS .html 77201.4 Ops/sec
Umbrella JS .find().text() 50037.9 Ops/sec
jQuery .text() 364461.1 Ops/sec
jQuery .html() 104569.5 Ops/sec
jQuery .find().text() 255539.3 Ops/sec
jQuery .find().html() 80288.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()


;