Run details:
Mozilla/5.0 (Linux; Android 10; K) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/137.0.0.0 Mobile Safari/537.36
Chrome Mobile 137
Android
Mobile
one year ago
Test name Executions per second
DOMParser 551.5 Ops/sec
createContextualFragment 364.1 Ops/sec
template 555.7 Ops/sec
innerHTML 227.2 Ops/sec
insertAdjacentHTML 251.7 Ops/sec
createContextualFragment PolyFill 246.5 Ops/sec
HTML Preparation code:
Script Preparation code:
Tests:
  • DOMParser

  • createContextualFragment

  • template

  • innerHTML

  • insertAdjacentHTML

  • createContextualFragment PolyFill