Run details:
Mozilla/5.0 (X11; Linux x86_64; rv:120.0) Gecko/20100101 Firefox/120.0
Firefox 120
Linux
Desktop
5 months ago
Test name Executions per second
element.textContent 441490.9 Ops/sec
node.textContent 524698.3 Ops/sec
node.nodeValue 553146.2 Ops/sec
node.data 560783.6 Ops/sec
HTML Preparation code:
Script Preparation code:
Tests:
  • element.textContent

  • node.textContent

  • node.nodeValue

  • node.data