Test name | Executions per second |
---|---|
Pure JS .innerText | 1133823.6 Ops/sec |
Pure JS .innerHTML | 161204.8 Ops/sec |
Pure JS .textContent | 1636465.2 Ops/sec |
jQuery .text() | 124526.7 Ops/sec |
jQuery .html() | 57253.9 Ops/sec |
jQuery .find().text() | 98664.5 Ops/sec |
jQuery .find().html() | 49424.0 Ops/sec |