Run details:
Mozilla/5.0 (Linux; Android 13; Pixel 6a) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/112.0.0.0 Mobile Safari/537.36
Chrome Mobile 112
Android
Mobile
one year ago
Test name Executions per second
DOMParser 325.7 Ops/sec
createContextualFragment 342.8 Ops/sec
innerHTML 310.4 Ops/sec
insertAdjacentHTML 308.2 Ops/sec
createContextualFragment PolyFill 307.6 Ops/sec
HTML Preparation code:
Script Preparation code:
Tests:
  • DOMParser

  • createContextualFragment

  • innerHTML

  • insertAdjacentHTML

  • createContextualFragment PolyFill