Run details:
Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/67.0.3396.62 Safari/537.36
Chrome 67
Linux
Desktop
6 years ago
Test name Executions per second
Umbrella JS .text 506177.2 Ops/sec
Umbrella JS .html 101563.7 Ops/sec
Umbrella JS .find().text() 57801.9 Ops/sec
jQuery .text() 167981.0 Ops/sec
jQuery .html() 91139.7 Ops/sec
jQuery .find().text() 145741.4 Ops/sec
jQuery .find().html() 84835.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()


;