Test name | Executions per second |
---|---|
Pure JS .innerText | 2156040.2 Ops/sec |
Pure JS .innerHTML | 342047.5 Ops/sec |
Pure JS .textContent | 3553849.0 Ops/sec |
jQuery .text() | 591338.6 Ops/sec |
jQuery .html() | 186324.8 Ops/sec |
jQuery .find().text() | 346021.5 Ops/sec |
jQuery .find().html() | 144466.5 Ops/sec |