Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

MPF Monitor slows down greatly when large device tree is expanded #30

Open
kylenahas opened this issue Jul 29, 2020 · 1 comment
Open

Comments

@kylenahas
Copy link
Collaborator

This seems to be an issue with lots of devices on the playfield.

To recreate, open a MPF Monitor project with lots of devices on the playfield (Demo Man example works), and expand the "light" device tree. MPF Monitor slows incredibly. Collapsing the large tree returns speed to normal.

I am not sure of the root cause, but it may be related to storing the data for playfield devices in the tree's model. In theory this issue also existed before my changes to the treeview rendering, but I'm not positive. I can test on an older version if wanted.

Potentially we could separate the data for the playfield devices from the tree model, but I'm not sure if that's the way to go.

@kylenahas
Copy link
Collaborator Author

The problem seems to be greatly exacerbated while lots of data is being updated (eg. during the "attract" mode). If there is not much data activity, the slowdown isn't as apparent.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant