~~`Element.prototype.insertAdjacentHTML` can be up to 4 times slower than `Node.prototype.appendChild`. So use the latter wherever possible for best performance.~~ (See comment from @frankbakulov below!)