Run details:
Mozilla/5.0 (iPhone; CPU iPhone OS 18_0 like Mac OS X) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/18.0 Mobile/15E148 Safari/604.1
Mobile Safari 18
iOS 18.0
Mobile
2 months ago
Test name Executions per second
createTextNode 2915.8 Ops/sec
textContent 4075832.5 Ops/sec
innerText 3862807.2 Ops/sec
innerHTML 2290588.5 Ops/sec
Script Preparation code:
Tests:
  • createTextNode

  • textContent

  • innerText

  • innerHTML