Run details:
Mozilla/5.0 (Linux; Android 10; ONEPLUS A5010) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/112.0.0.0 Mobile Safari/537.36
Chrome Mobile 112
Android
Mobile
one year ago
Test name Executions per second
createTextNode 491930.8 Ops/sec
textContent 2144617.2 Ops/sec
innerText 694065.9 Ops/sec
append 976324.6 Ops/sec
new text 418505.3 Ops/sec
Script Preparation code:
Tests:
  • createTextNode

  • textContent

  • innerText

  • append

  • new text