Run details:
Mozilla/5.0 (Linux; Android 11; Infinix X6511B) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/117.0.5938.154 Mobile Safari/537.36 OPR/78.5.4143.75924
Opera Mobile 78
Android
Mobile
one year ago
Test name Executions per second
element.textContent 69895.4 Ops/sec
node.textContent 82529.7 Ops/sec
node.nodeValue 84166.3 Ops/sec
node.data 84661.9 Ops/sec
HTML Preparation code:
Script Preparation code:
Tests:
  • element.textContent

  • node.textContent

  • node.nodeValue

  • node.data