Test name | Executions per second |
---|---|
Pure JS .innerText | 1219740.0 Ops/sec |
Pure JS .innerHTML | 96331.9 Ops/sec |
Pure JS .textContent | 2941205.2 Ops/sec |
jQuery .text() | 87520.1 Ops/sec |
jQuery .html() | 60801.6 Ops/sec |
jQuery .find().text() | 80197.0 Ops/sec |
jQuery .find().html() | 60197.4 Ops/sec |