Run details:
Mozilla/5.0 (iPhone; CPU iPhone OS 15_8_2 like Mac OS X) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/15.6.6 Mobile/15E148 Safari/604.1
Mobile Safari 15
iOS 15.8.2
Mobile
8 months ago
Test name Executions per second
element.textContent 1504664.2 Ops/sec
node.textContent 1594069.4 Ops/sec
node.nodeValue 1535203.5 Ops/sec
node.data 1618388.2 Ops/sec
HTML Preparation code:
Script Preparation code:
Tests:
  • element.textContent

  • node.textContent

  • node.nodeValue

  • node.data