Run details:
Mozilla/5.0 (Linux; Android 10; Mi MIX 2S) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/111.0.0.0 Mobile Safari/537.36
Chrome Mobile 111
Android
Mobile
one year ago
Test name Executions per second
DOMParser 181.1 Ops/sec
createContextualFragment 183.9 Ops/sec
innerHTML 172.7 Ops/sec
insertAdjacentHTML 172.6 Ops/sec
createContextualFragment PolyFill 173.2 Ops/sec
HTML Preparation code:
Script Preparation code:
Tests:
  • DOMParser

  • createContextualFragment

  • innerHTML

  • insertAdjacentHTML

  • createContextualFragment PolyFill