Run details:
Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:96.0) Gecko/20100101 Firefox/96.0
Firefox 96
Ubuntu
Desktop
one year ago
Test name Executions per second
DOMParser 547.0 Ops/sec
createContextualFragment 605.8 Ops/sec
innerHTML 606.1 Ops/sec
insertAdjacentHTML 549.3 Ops/sec
createContextualFragment PolyFill 522.7 Ops/sec
HTML Preparation code:
Script Preparation code:
Tests:
  • DOMParser

  • createContextualFragment

  • innerHTML

  • insertAdjacentHTML

  • createContextualFragment PolyFill