Run details:
Mozilla/5.0 (iPad; CPU OS 12_4 like Mac OS X) AppleWebKit/605.1.15 (KHTML, like Gecko) CriOS/78.0.3904.84 Mobile/15E148 Safari/605.1
Chrome Mobile iOS 78
iOS 12.4
Tablet
5 years ago
Test name Executions per second
createTextNode 3344.9 Ops/sec
textContent 675818.2 Ops/sec
innerText 684980.1 Ops/sec
nodeValue 3841336.5 Ops/sec
Script Preparation code:
Tests:
  • createTextNode

  • textContent

  • innerText

  • nodeValue