Run details:
Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:120.0) Gecko/20100101 Firefox/120.0
Firefox 120
Windows
Desktop
one year ago
Test name Executions per second
DOMParser 1029.4 Ops/sec
createContextualFragment 1040.8 Ops/sec
innerHTML 1032.1 Ops/sec
insertAdjacentHTML 919.1 Ops/sec
createContextualFragment PolyFill 885.1 Ops/sec
HTML Preparation code:
Script Preparation code:
Tests:
  • DOMParser

  • createContextualFragment

  • innerHTML

  • insertAdjacentHTML

  • createContextualFragment PolyFill