Exlude Objects: CPU heavy to parse

:plus:

Those profiles are from vanilla Klipper.
One of them, from my RPI5, where it still takes around 1s.
I do not have fancy stuff, and generally think that RPI5 is OP.

So, I suspect those hotspots should be valid for all systems.
But I’m not sure that they will generate TTC.
The only possible difference is the amount and complexity of exclude_objects_definition per build plate.

Just my 2 cents.
I generally think that CPU can be loaded to 100% and klipper should work
Maybe with a little amount of magic dust.

I suspect that KlipperScreen is somewhat the same as the WebUI in the sense that it uses Moonraker and receives status/state updates.
So, if there is large JSON data (512kb, as in the above screenshot) (high amount of excluded object definitions), that large JSON serialized and deserialized should consume the power of Klipper, then Moonraker, and then Klipper screen.

2 Likes