avoid subtree unless you truly need and try monitoring addedNodes not the whole DOM. ex:
subtree
for (const mutation of mutations) { for (const node of mutation.addedNodes) { ... } }