Run details:
Mozilla/5.0 (Linux; Android 10) AppleWebKit/537.36 (KHTML, like Gecko) Version/4.0 Chrome/96.0.4664.92 Mobile DuckDuckGo/5 Safari/537.36
Chrome Mobile 96
Android
Mobile
3 years ago
Test name Executions per second
template 7301.0 Ops/sec
DocumentFragment 9262.0 Ops/sec
createElement 14167.6 Ops/sec
createElement createTextNode 16062.6 Ops/sec
Tests:
  • template

  • DocumentFragment

  • createElement

  • createElement createTextNode