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

Fix performance regression #631

Merged
merged 2 commits into from
Nov 9, 2022
Merged

Fix performance regression #631

merged 2 commits into from
Nov 9, 2022

Conversation

arxanas
Copy link
Owner

@arxanas arxanas commented Nov 9, 2022

Closes #625

As reported in #625, commit c90b52f introduced a performance regression. It's not clear to me why queries like `ancestors(X)` are slow in this case. In my experimentation, the result was often a single-span commit set, which should be fairly quick to compute and process for other operations (such as `intersection`). Nonetheless, avoiding that query seems to improve the speed of evaluating various revsets.
@arxanas arxanas marked this pull request as ready for review November 9, 2022 00:55
@arxanas arxanas merged commit ae3b28a into master Nov 9, 2022
@arxanas arxanas deleted the arxanas/dag branch November 9, 2022 03:03
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.

Regression: smartlog at HEAD is slower than v0.5.0
1 participant