Run details:
Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/64.0.3282.140 Safari/537.36
Chrome 64
Linux
Other
6 years ago
Test name Executions per second
Umbrella JS .text 231490.8 Ops/sec
Umbrella JS .html 42971.9 Ops/sec
Umbrella JS .find().text() 26576.1 Ops/sec
jQuery .text() 78029.4 Ops/sec
jQuery .html() 39608.7 Ops/sec
jQuery .find().text() 67686.6 Ops/sec
jQuery .find().html() 36410.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()