#14333·AFFiNE

[Feature Request]: Improve performance in edgeless mode for larger documents

Author: ChariseWalravenCreated Jan 28, 2026Updated Sep 13, 2026
Labelsstory

Description

Hi there,

I'm using AFFiNE to complete my math homework, among other things. So I write my notes by hand in edgeless mode using a Huion tablet. I've noticed that after a while, the performance in edgeless degrades to the point where it becomes kind of difficult to write, because it lags so much that the pen strokes become more like slashes.

Here's a picture of how it starts out looking:

And here's how it ends up looking:

There's a noticeable visual difference, and also a noticeable difference in how the letters are being formed when I write, to the point where I have to write far more carefully.

Here's the size of the document, for reference, at 10% zoom:

It's fairly large, I know. But I've also noticed that when using Miro for the same thing, a document of this size isn't an issue.

I've also noticed that others are having a similar issues:

https://github.com/toeverything/AFFiNE/issues/14223 https://github.com/toeverything/AFFiNE/issues/8668

I think a good solution for this might be to limit the rendering of the engine to the visible part of the document, if that hasn't already been implemented.

Use case

For writing large handwritten documents using AFFiNe, like a set of maths exercises, or a book, or a large scale project with lots of handwritten notes like in Miro.

Anything else?

I'm self hosting the server on a laptop running ubuntu server and running the affine app on a macbook air M2 for the UI.

Are you willing to submit a PR?

  • Yes I'd like to help by submitting a PR!

Is your content generated by AI?

  • I confirm that the content I submitted was not generated by AI / merely contained minimal AI edits.