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 issue with Profiling tool taking a long time due to finding stage ids that maps to sql nodes #5951

Merged
merged 7 commits into from
Jul 6, 2022

Conversation

tgravescs
Copy link
Collaborator

fixes #5896

the time it took to do the intersection of the node accumulators with stage accumulators on large application really added up. Change to use a hashmap to be able to look up quickly. Change to use Set for the stages to keep things consistent and output the same order.

Tested with our integration test event logs that were taking a long time and confirmed times much smaller. One example took 13 seconds now with this change instead of 16 minutes.

@tgravescs tgravescs added the tools label Jul 5, 2022
@tgravescs tgravescs added this to the Jun 20 - Jul 8 milestone Jul 5, 2022
@tgravescs tgravescs self-assigned this Jul 5, 2022
@tgravescs
Copy link
Collaborator Author

build

Signed-off-by: Thomas Graves <tgraves@apache.org>
@tgravescs
Copy link
Collaborator Author

build

Copy link
Collaborator

@nartal1 nartal1 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM. I'm curious to see the reduction in time in profiling tool integration tests.

@tgravescs tgravescs merged commit 0b511cb into NVIDIA:branch-22.08 Jul 6, 2022
@tgravescs tgravescs deleted the profileTimeIssue branch July 6, 2022 12:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[BUG] Profiling tool on taking a really long time for integration tests
2 participants