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

Reduce CPU usage during scanout #9

Open
taw10 opened this issue Jul 17, 2022 · 2 comments
Open

Reduce CPU usage during scanout #9

taw10 opened this issue Jul 17, 2022 · 2 comments

Comments

@taw10
Copy link
Owner

taw10 commented Jul 17, 2022

Currently, we loop over all fixtures and all attributes, for each one tracing the current value through the state stack. This is very inefficient! It's only necessary to re-check an attribute if it might have changed, e.g. if it's assigned to a function. There are many possible strategies for making the scanout process many times more efficient.

@taw10
Copy link
Owner Author

taw10 commented Jul 17, 2022

Relates to #1

@taw10
Copy link
Owner Author

taw10 commented Apr 2, 2023

With 69337c0, it should be a lot better. There is still potential for more big improvements, though.

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