Corrected DOM manipulation vs innerhtml

one year ago
User agent: Mozilla/5.0 (Windows NT 6.1; Win64; x64; rv:86.0) Gecko/20100101 Firefox/86.0
Test name Executions per second
innerHTML 72546.3 Ops/sec
DOM manipulation 85800.3 Ops/sec
HTML Preparation code:
Tests:
  • innerHTML

  • DOM manipulation

Open this result on MeasureThat.net