Run details:
Mozilla/5.0 (Windows NT 5.1; rv:52.0) Gecko/20100101 Firefox/52.0
Firefox 52
Windows XP
Desktop
4 months ago
Test name Executions per second
element.textContent 342660.0 Ops/sec
node.textContent 440410.5 Ops/sec
node.nodeValue 451340.1 Ops/sec
node.data 431085.7 Ops/sec
HTML Preparation code:
Script Preparation code:
Tests:
  • element.textContent

  • node.textContent

  • node.nodeValue

  • node.data