Run details:
Mozilla/5.0 (Windows NT 6.1; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/90.0.4400.8 Safari/537.36 OPR/76.0.3974.0 (Edition developer)
Opera 76
Windows 7
Desktop
3 years ago
Test name Executions per second
template 14973.9 Ops/sec
DocumentFragment 17870.0 Ops/sec
createElement 21988.9 Ops/sec
createElement createTextNode 16817.5 Ops/sec
Tests:
  • template

  • DocumentFragment

  • createElement

  • createElement createTextNode