Run details:
Mozilla/5.0 (Macintosh; Intel Mac OS X 10.16; rv:84.0) Gecko/20100101 Firefox/84.0
Firefox 84
Mac OS X 10.16
Desktop
4 years ago
Test name Executions per second
Umbrella JS .text 238474.6 Ops/sec
Umbrella JS .html 238891.7 Ops/sec
Umbrella JS .find().text() 128363.6 Ops/sec
jQuery .text() 347079.3 Ops/sec
jQuery .html() 428635.4 Ops/sec
jQuery .find().text() 229428.8 Ops/sec
jQuery .find().html() 328083.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()