Monaco editor - slightly laggy

I've used Monaco editor for years, but I'm only just now trying to fix a minor annoyance, which is that it feels a bit laggy when scrolling.

I turned off minimap, and also switched to ace, but it still feels a little bit laggy.

I would describe this laggy behaviour as something more like "slow refresh rate" rather than slow scrolling.

In Monaco Playground it's absolutely fine.

I'm in Chrome browser, Win11.

Could it be more a case of "too much stuff happening clientside" in general, i.e. my NodeRED possibly has too many unused nodes etc.?

As mentioned it's a minor annoyance. But when editing say a dashboard template UI node (the fields at the top of which take up the first half of the window, maybe I can somehow remove some fields I never use?!) it makes the experience in general really quite slow and annoying, going back and forth pressing deploy, opening the node, making it fullscreen, scrolling, etc.

On the latter note, is there a way to open code editing nodes in fullscreen by default (or "remember" last state)?

First check in the system monitor whether anything (particularly the browser) is using a lot of CPU.

Next try a different browser. Edge, for example.

Third, export a node that you see the problem with, then rename your .node-red folder (assuming this is a conventional install) and restart node-red. That will give you an empty set of flows. Import the problematic node and see how it now behaves.

You can then delete the new .node-red folder and rename the original one again, and restart node-red.