Run details:
Mozilla/5.0 (X11; CrOS x86_64 14541.0.0) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/120.0.0.0 Safari/537.36
Chrome 120
Chrome OS 14541.0.0
Desktop
9 months ago
Test name Executions per second
DOMParser 704.4 Ops/sec
createContextualFragment 536.9 Ops/sec
template 722.4 Ops/sec
innerHTML 445.6 Ops/sec
insertAdjacentHTML 451.4 Ops/sec
createContextualFragment PolyFill 453.1 Ops/sec
HTML Preparation code:
Script Preparation code:
Tests:
  • DOMParser

  • createContextualFragment

  • template

  • innerHTML

  • insertAdjacentHTML

  • createContextualFragment PolyFill


;