Run details:
Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/114.0.0.0 Safari/537.36
Chrome 114
Linux
Desktop
one year ago
Test name Executions per second
DOMParser 966.5 Ops/sec
createContextualFragment 1033.1 Ops/sec
innerHTML 925.6 Ops/sec
insertAdjacentHTML 955.3 Ops/sec
createContextualFragment PolyFill 948.6 Ops/sec
HTML Preparation code:
Script Preparation code:
Tests:
  • DOMParser

  • createContextualFragment

  • innerHTML

  • insertAdjacentHTML

  • createContextualFragment PolyFill