Run details:
Mozilla/5.0 (X11; CrOS x86_64 14541.0.0) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/112.0.0.0 Safari/537.36
Chrome 112
Chrome OS 14541.0.0
Desktop
one year ago
Test name Executions per second
element.textContent 775969.4 Ops/sec
node.textContent 868753.0 Ops/sec
node.nodeValue 972752.8 Ops/sec
node.data 979558.1 Ops/sec
HTML Preparation code:
Script Preparation code:
Tests:
  • element.textContent

  • node.textContent

  • node.nodeValue

  • node.data