Run details:
Mozilla/5.0 (Linux; Android 11) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/95.0.4638.69 Safari/537.36
Chrome 95
Android
Desktop
3 years ago
Test name Executions per second
append 98.5 Ops/sec
appendChild 111.5 Ops/sec
insertAdjacentHTML 231.0 Ops/sec
DOMParser 221.4 Ops/sec
createContextualFragment 224.8 Ops/sec
HTML Preparation code:
Tests:
  • append

  • appendChild

  • insertAdjacentHTML

  • DOMParser

  • createContextualFragment