Run details:
Mozilla/5.0 (Linux; arm_64; Android 14; 22071219CG) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/126.0.6478.41 YaBrowser/24.7.6.41.00 SA/3 Mobile Safari/537.36
Yandex Browser 24
Android
Mobile
3 months ago
Test name Executions per second
createTextNode 952494.6 Ops/sec
textContent 3224327.0 Ops/sec
innerText 1273591.1 Ops/sec
innerHTML 613316.9 Ops/sec
Script Preparation code:
Tests:
  • createTextNode

  • textContent

  • innerText

  • innerHTML