Run details:
Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:95.0) Gecko/20100101 Firefox/95.0
Firefox 95
Windows
Desktop
3 years ago
Test name Executions per second
append 390.1 Ops/sec
appendChild 428.3 Ops/sec
insertAdjacentHTML 803.5 Ops/sec
DOMParser 1275.7 Ops/sec
createContextualFragment 287.8 Ops/sec
HTML Preparation code:
Tests:
  • append

  • appendChild

  • insertAdjacentHTML

  • DOMParser

  • createContextualFragment