Run details:
Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:127.0) Gecko/20100101 Firefox/127.0
Firefox 127
Mac OS X 10.15
Desktop
6 months ago
Test name Executions per second
DOMParser 1743.1 Ops/sec
createContextualFragment 1656.6 Ops/sec
innerHTML 1818.5 Ops/sec
insertAdjacentHTML 1416.4 Ops/sec
createContextualFragment PolyFill 1435.8 Ops/sec
HTML Preparation code:
Script Preparation code:
Tests:
  • DOMParser

  • createContextualFragment

  • innerHTML

  • insertAdjacentHTML

  • createContextualFragment PolyFill