Run details:
Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/133.0.0.0 Safari/537.36 Edg/133.0.0.0
Chrome 133
Windows
Desktop
one month ago
Test name Executions per second
DOMParser 690.0 Ops/sec
createContextualFragment 621.1 Ops/sec
innerHTML 589.9 Ops/sec
insertAdjacentHTML 570.0 Ops/sec
createContextualFragment PolyFill 570.6 Ops/sec
HTML Preparation code:
Script Preparation code:
Tests:
  • DOMParser

  • createContextualFragment

  • innerHTML

  • insertAdjacentHTML

  • createContextualFragment PolyFill