Script Preparation code:
AخA
 
var a = document.createElement('a'); a.innerText = 'text';
Tests:
  • textContent

     
    a.textContent
  • innerText

     
    a.innerText
  • innerHTML

     
    a.innerHTML
  • nodeValue

     
    a.nodeValue
Rendered benchmark preparation results:

Suite status: <idle, ready to run>

Previous results

Experimental features:

  • Test case name Result
    textContent
    innerText
    innerHTML
    nodeValue

    Fastest: N/A

    Slowest: N/A

Latest run results:
Run details: (Test run date: one year ago)
Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/116.0.0.0 Safari/537.36
Chrome 116 on Mac OS X 10.15.7
View result in a separate tab
Test name Executions per second
textContent 11126096.0 Ops/sec
innerText 8896677.0 Ops/sec
innerHTML 10393067.0 Ops/sec
nodeValue 20330006.0 Ops/sec