Test name | Executions per second |
---|---|
Pure JS .innerText | 1352076.0 Ops/sec |
Pure JS .innerHTML | 217280.4 Ops/sec |
Pure JS .textContent | 2136572.0 Ops/sec |
jQuery .text() | 334535.4 Ops/sec |
jQuery .html() | 124982.6 Ops/sec |
jQuery .find().text() | 215308.3 Ops/sec |
jQuery .find().html() | 83356.0 Ops/sec |