Run details:
Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_4) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/90.0.4430.93 Safari/537.36
Chrome 90
Mac OS X 10.15.4
Desktop
3 years ago
Test name Executions per second
template 56081.5 Ops/sec
DocumentFragment createTextNode 61926.3 Ops/sec
createElement 65737.9 Ops/sec
createElement createTextNode 56418.0 Ops/sec
DocumentFragment 65808.9 Ops/sec
Tests:
  • template

  • DocumentFragment createTextNode

  • createElement

  • createElement createTextNode

  • DocumentFragment