Run details:
Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:107.0) Gecko/20100101 Firefox/107.0
Firefox 107
Mac OS X 10.15
Desktop
2 years ago
Test name Executions per second
DOMParser 1501.5 Ops/sec
createContextualFragment 1614.6 Ops/sec
innerHTML 1634.5 Ops/sec
insertAdjacentHTML 1626.0 Ops/sec
createContextualFragment PolyFill 1585.4 Ops/sec
HTML Preparation code:
Script Preparation code:
Tests:
  • DOMParser

  • createContextualFragment

  • innerHTML

  • insertAdjacentHTML

  • createContextualFragment PolyFill