Run details:
Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/110.0.0.0 Safari/537.36 Edg/110.0.1587.41
Chrome 110
Linux
Desktop
one year ago
Test name Executions per second
DOMParser 643.9 Ops/sec
createContextualFragment 503.4 Ops/sec
innerHTML 478.0 Ops/sec
insertAdjacentHTML 471.6 Ops/sec
createContextualFragment PolyFill 480.7 Ops/sec
HTML Preparation code:
Script Preparation code:
Tests:
  • DOMParser

  • createContextualFragment

  • innerHTML

  • insertAdjacentHTML

  • createContextualFragment PolyFill