Run details:
Mozilla/5.0 (Linux; Android 6.0.1; SGP511) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/105.0.0.0 Safari/537.36
Chrome 105
Android 6.0.1
Desktop
2 years ago
Test name Executions per second
DOMParser 21.8 Ops/sec
createContextualFragment 20.9 Ops/sec
innerHTML 19.9 Ops/sec
insertAdjacentHTML 21.5 Ops/sec
createContextualFragment PolyFill 18.8 Ops/sec
HTML Preparation code:
Script Preparation code:
Tests:
  • DOMParser

  • createContextualFragment

  • innerHTML

  • insertAdjacentHTML

  • createContextualFragment PolyFill


;