Hello,
After updating chrome from v95 to v96 we are having major performance issues.
It’s kind of hard to nail down, as it only seem to happen in larger documents.
The issue seems to show up in function selectionToDOM(view, force).
When testing in FF, Edge or Safari or from Chrome prior to v96 we don’t see this issue.
Anyone else notice a performance hit from Chrome v96?
Google Chrome Helper (Renderer) process for https://prosemirror.net/ consumes % CPU up to 100% and the tab becomes very sluggish when large payload has been entered/pasted in the editor. This issue seems to occur only on Chrome 96.
From my own manual testing, many other common editors are seeing the same performance degradation. I see at least: Salesforce Quip and Coda being impacted and also AtlasKit (which depends on ProseMirror). Additionally I see that Etherpad Lite framework is being impacted.
@marijn Is there any chance that this can be mitigated by patching ProseMirror? It looks like Notion.io is unaffected by this issue. I’m wondering if that’s because each line is a separate content editable in Notion.
Bumping that I see massive degradation but mostly in documents that have a lot of text that is triggering chromes auto spell checker by any chance. Every input requires recalculation of all text within the contenteditable. Would make sense that notion would not have this bug if they are chopping up their documents as such.
From investigations we are seeing significant impact at Atlassian (still pulling out data, so this is based on eyeballing perf charts of users with chrome 96), and are currently investigating a “fix” where we may disable spellchecking for some users.
I’m seeing the slow-down in a raw contentEditable element as well, so I think the only recourse is, indeed, selectively turning off spell-check until this is fixed on the Chrome side. (The version 98 build still seems to have the issue too, unfortunately.)