Run details:
Mozilla/5.0 (X11; Linux x86_64; rv:123.0) Gecko/20100101 Firefox/123.0
Firefox 123
Linux
Desktop
9 months ago
Test name Executions per second
DOMParser 1466.2 Ops/sec
createContextualFragment 1423.7 Ops/sec
template 1378.3 Ops/sec
innerHTML 1339.2 Ops/sec
insertAdjacentHTML 1236.7 Ops/sec
createContextualFragment PolyFill 1240.7 Ops/sec
HTML Preparation code:
Script Preparation code:
Tests:
  • DOMParser

  • createContextualFragment

  • template

  • innerHTML

  • insertAdjacentHTML

  • createContextualFragment PolyFill