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

Fixtures iterator performance #217

Merged
merged 2 commits into from
Sep 26, 2023

Conversation

slukes
Copy link
Contributor

@slukes slukes commented Sep 26, 2023

The current implementation of fixturesIterator freezes when using huge datasets, getting slower and slower with each iteration.

This PR changes it to use a topological sort instead, thus giving consistant performance.

Tested in my use case with 1 million fixtures and everything works well where as the old version was still running 2 hours later.

@slukes
Copy link
Contributor Author

slukes commented Sep 26, 2023

@RobinCK I'm not sure I understand the CI error on windows. Any insights?

@RobinCK
Copy link
Owner

RobinCK commented Sep 26, 2023

@slukes ooh it is ok :)
thank you

@RobinCK RobinCK self-requested a review September 26, 2023 20:25
@RobinCK RobinCK merged commit 3865c93 into RobinCK:master Sep 26, 2023
2 of 4 checks passed
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

Successfully merging this pull request may close these issues.

2 participants