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

Improves QL performance by changing how node data is accessed #143

Merged
merged 1 commit into from
Aug 26, 2024

Conversation

ilumsden
Copy link
Collaborator

Using #142, I found a bottleneck in the QL logic for accessing data for a node when the dataframe uses a row MultiIndex. This PR changes that logic to use pandas.DataFrame.xs, resulting in a roughly 2x speedup in the code for node data access.

@ilumsden ilumsden added area-query-lang Issues and PRs related to Hatchet's query language priority-normal Normal priority issues and PRs status-ready-for-review This PR is ready to be reviewed by assigned reviewers type-internal-cleanup PR or issues related to the structure of the codebase, directories and refactors labels Jul 14, 2024
@ilumsden ilumsden self-assigned this Jul 14, 2024
@ilumsden ilumsden requested a review from pearce8 August 26, 2024 16:48
@pearce8 pearce8 merged commit 4375612 into LLNL:develop Aug 26, 2024
5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area-query-lang Issues and PRs related to Hatchet's query language priority-normal Normal priority issues and PRs status-ready-for-review This PR is ready to be reviewed by assigned reviewers type-internal-cleanup PR or issues related to the structure of the codebase, directories and refactors
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants