Run details:
Mozilla/5.0 (Macintosh; Intel Mac OS X 10_13_6) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/68.0.3440.106 Safari/537.36
Chrome 68
Mac OS X 10.13.6
Desktop
6 years ago
Test name Executions per second
Umbrella JS .text 480905.7 Ops/sec
Umbrella JS .html 155674.0 Ops/sec
Umbrella JS .find().text() 65616.9 Ops/sec
jQuery .text() 435823.4 Ops/sec
jQuery .html() 160033.5 Ops/sec
jQuery .find().text() 282845.0 Ops/sec
jQuery .find().html() 130425.2 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()


;