Run details:
Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/69.0.3497.81 Safari/537.36 Maxthon/5.3.8.2000
Maxthon 5
Windows 7
Desktop
3 years ago
Test name Executions per second
innerHTML 10689.7 Ops/sec
DocumentFragment 5776.4 Ops/sec
Tests:
  • innerHTML

  • DocumentFragment