I was testing plugins with decorations. In my plugin, the decorations have to check many link nodes in the editor and update when the content of link nodes changes.
But I found that decorations were called whenever the view changed (e.g. cursor moved, selection changed, etc.), which could result in a lot of unnecessary work (as the link nodes do not change at all). And I am also wondering about the performance.