Run details:
Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/130.0.0.0 Safari/537.36
Chrome 130
Linux
Desktop
one month ago
Test name Executions per second
element.textContent 1373522.8 Ops/sec
node.textContent 1501336.8 Ops/sec
node.nodeValue 1509195.0 Ops/sec
node.data 1395081.2 Ops/sec
HTML Preparation code:
Script Preparation code:
Tests:
  • element.textContent

  • node.textContent

  • node.nodeValue

  • node.data