Run details:
Mozilla/5.0 (X11; Linux x86_64; rv:121.0) Gecko/20100101 Firefox/121.0
Firefox 121
Linux
Desktop
one year ago
Test name Executions per second
element.textContent 376966.3 Ops/sec
node.textContent 3627691.0 Ops/sec
node.nodeValue 3737097.5 Ops/sec
node.data 3642362.2 Ops/sec
HTML Preparation code:
Script Preparation code:
Tests:
  • element.textContent

  • node.textContent

  • node.nodeValue

  • node.data