Test name | Executions per second |
---|---|
Pure JS .innerText | 974636.6 Ops/sec |
Pure JS .innerHTML | 194907.0 Ops/sec |
Pure JS .textContent | 3450502.5 Ops/sec |
jQuery .text() | 465307.6 Ops/sec |
jQuery .html() | 122934.0 Ops/sec |
jQuery .find().text() | 309802.1 Ops/sec |
jQuery .find().html() | 102459.2 Ops/sec |