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 288775.4 Ops/sec
Umbrella JS .html 55242.4 Ops/sec
Umbrella JS .find().text() 36241.2 Ops/sec
jQuery .text() 128449.1 Ops/sec
jQuery .html() 63107.1 Ops/sec
jQuery .find().text() 97830.0 Ops/sec
jQuery .find().html() 56498.6 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()


;