Run details:
Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/131.0.0.0 Safari/537.36
Chrome 131
Windows
Desktop
3 months ago
Test name Executions per second
DOMParser 1140.1 Ops/sec
createContextualFragment 1129.6 Ops/sec
innerHTML 1109.6 Ops/sec
insertAdjacentHTML 1115.5 Ops/sec
createContextualFragment PolyFill 1120.8 Ops/sec
HTML Preparation code:
Script Preparation code:
Tests:
  • DOMParser

  • createContextualFragment

  • innerHTML

  • insertAdjacentHTML

  • createContextualFragment PolyFill