Run details:
Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/118.0.0.0 Safari/537.36
Chrome 118
Linux
Desktop
one year ago
Test name Executions per second
DOMParser 629.2 Ops/sec
createContextualFragment 479.6 Ops/sec
innerHTML 465.1 Ops/sec
insertAdjacentHTML 484.0 Ops/sec
createContextualFragment PolyFill 486.5 Ops/sec
HTML Preparation code:
Script Preparation code:
Tests:
  • DOMParser

  • createContextualFragment

  • innerHTML

  • insertAdjacentHTML

  • createContextualFragment PolyFill