Run details:
Mozilla/5.0 (iPhone; CPU iPhone OS 11_4_1 like Mac OS X) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/11.0 Mobile/15E148 Safari/604.1
Mobile Safari 11
iOS 11.4.1
Mobile
6 years ago
Test name Executions per second
Umbrella JS .text 68470.5 Ops/sec
Umbrella JS .html 45516.3 Ops/sec
Umbrella JS .find().text() 35377.7 Ops/sec
jQuery .text() 195451.8 Ops/sec
jQuery .html() 110184.3 Ops/sec
jQuery .find().text() 115377.7 Ops/sec
jQuery .find().html() 30121.0 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()