Run details:
Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:109.0) Gecko/20100101 Firefox/113.0
Firefox 113
Windows
Desktop
one year ago
Test name Executions per second
element.textContent 727231.4 Ops/sec
node.textContent 900516.2 Ops/sec
node.nodeValue 1164832.1 Ops/sec
node.data 1140136.0 Ops/sec
HTML Preparation code:
Script Preparation code:
Tests:
  • element.textContent

  • node.textContent

  • node.nodeValue

  • node.data


;