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 832248.4 Ops/sec
node.textContent 932002.2 Ops/sec
node.nodeValue 995117.6 Ops/sec
node.data 994040.9 Ops/sec
HTML Preparation code:
Script Preparation code:
Tests:
  • element.textContent

  • node.textContent

  • node.nodeValue

  • node.data