Run details:
Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:109.0) Gecko/20100101 Firefox/113.0
Firefox 113
Mac OS X 10.15
Desktop
one year ago
Test name Executions per second
element.textContent 1827955.2 Ops/sec
node.textContent 2873264.5 Ops/sec
node.nodeValue 2953664.0 Ops/sec
node.data 2886823.8 Ops/sec
HTML Preparation code:
Script Preparation code:
Tests:
  • element.textContent

  • node.textContent

  • node.nodeValue

  • node.data