Run details:
Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:128.0) Gecko/20100101 Firefox/128.0
Firefox 128
Mac OS X 10.15
Desktop
4 months ago
Test name Executions per second
DOMParser 1454.2 Ops/sec
createContextualFragment 1366.7 Ops/sec
innerHTML 1515.8 Ops/sec
insertAdjacentHTML 1364.7 Ops/sec
createContextualFragment PolyFill 1286.1 Ops/sec
HTML Preparation code:
Script Preparation code:
Tests:
  • DOMParser

  • createContextualFragment

  • innerHTML

  • insertAdjacentHTML

  • createContextualFragment PolyFill