I rebased the patches and run some more tests (triggered many times) and memory usage looks still quite reasonable https://treeherder.mozilla.org/perfherder/compare?originalProject=try&originalRevision=968eb82a48a71de0a415a75d1a70f080af18074b&newProject=try&newRevision=a13b303e3131db00545d312caa00c025fc3d0a07&page=1&framework=4
Bug 1815069 Comment 6 Edit History
Note: The actual edited comment in the bug view page will always show the original commenter’s name and original timestamp.
I rebased the patches and run some more tests (triggered many times, but the confidence is still low) and memory usage looks quite reasonable https://treeherder.mozilla.org/perfherder/compare?originalProject=try&originalRevision=968eb82a48a71de0a415a75d1a70f080af18074b&newProject=try&newRevision=a13b303e3131db00545d312caa00c025fc3d0a07&page=1&framework=4