Run details:
Mozilla/5.0 (X11; CrOS x86_64 14541.0.0) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/114.0.0.0 Safari/537.36
Chrome 114
Chrome OS 14541.0.0
Desktop
one year ago
Test name Executions per second
DOMParser 696.2 Ops/sec
createContextualFragment 760.5 Ops/sec
innerHTML 701.6 Ops/sec
insertAdjacentHTML 696.0 Ops/sec
createContextualFragment PolyFill 693.9 Ops/sec
HTML Preparation code:
Script Preparation code:
Tests:
  • DOMParser

  • createContextualFragment

  • innerHTML

  • insertAdjacentHTML

  • createContextualFragment PolyFill