Run details:
Mozilla/5.0 (Macintosh; Intel Mac OS X 10_11_6) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/58.0.3029.110 Safari/537.36
Chrome 58
Mac OS X 10.11.6
Other
7 years ago
Test name Executions per second
Umbrella JS .text 225236.6 Ops/sec
Umbrella JS .html 50447.1 Ops/sec
Umbrella JS .find().text() 34413.7 Ops/sec
jQuery .text() 93237.8 Ops/sec
jQuery .html() 55606.0 Ops/sec
jQuery .find().text() 85080.3 Ops/sec
jQuery .find().html() 51182.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()