We are buidling a collaborative editor using Prosemirror and the collab module.
We are facing an issue, when the app receives a large amount of steps from the authority, it takes a long time to update the editor view, causing performance issues on our page.
Total steps: 3917
It takes around 2 to 3s until the view is updated
When I test this I get a time of around 30 milliseconds for calling receiveTransaction to create the transaction with 4000 steps, and another 5 milliseconds to dispatch it. What kind of steps are you using, and what code, precisely, is running in the operation you timed?