Run details:
Mozilla/5.0 (Windows NT 10.0; WOW64; Trident/7.0; rv:11.0) like Gecko
IE 11
Windows
Desktop
2 years ago
Test name Executions per second
createTextNode 2958.0 Ops/sec
innerHTML 161270.8 Ops/sec
innerText 114339.7 Ops/sec
Script Preparation code:
Tests:
  • createTextNode

  • innerHTML

  • innerText