Run details:
Mozilla/5.0 (Macintosh; Intel Mac OS X 10_13_4) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/70.0.3538.102 Safari/537.36
Chrome 70
Mac OS X 10.13.4
Desktop
5 years ago
Test name Executions per second
Umbrella JS .text 321613.0 Ops/sec
Umbrella JS .html 74643.4 Ops/sec
Umbrella JS .find().text() 38031.3 Ops/sec
jQuery .text() 271521.2 Ops/sec
jQuery .html() 76725.8 Ops/sec
jQuery .find().text() 205342.8 Ops/sec
jQuery .find().html() 64417.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()


;