Test name | Executions per second |
---|---|
Pure JS .innerText | 717371.2 Ops/sec |
Pure JS .innerHTML | 57377.9 Ops/sec |
Pure JS .textContent | 2741829.2 Ops/sec |
jQuery .text() | 69982.0 Ops/sec |
jQuery .html() | 33458.7 Ops/sec |
jQuery .find().text() | 57511.6 Ops/sec |
jQuery .find().html() | 33196.5 Ops/sec |