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

Potential regression induced by PR #57479 #57623

Closed
3 tasks
rhshadrach opened this issue Feb 25, 2024 · 4 comments
Closed
3 tasks

Potential regression induced by PR #57479 #57623

rhshadrach opened this issue Feb 25, 2024 · 4 comments
Labels
Missing-data np.nan, pd.NaT, pd.NA, dropna, isnull, interpolate Performance Memory or execution speed performance Regression Functionality that used to work in a prior pandas version
Milestone

Comments

@rhshadrach
Copy link
Member

PR #57479 may have induced a performance regression. If it was a necessary behavior change, this may have been expected and everything is okay.

Please check the links below. If any ASVs are parameterized, the combinations of parameters that a regression has been detected for appear as subbullets.

Subsequent benchmarks may have skipped some commits. The link below lists the commits that are between the two benchmark runs where the regression was identified.

Commit Range

cc @phofl

@rhshadrach rhshadrach added Missing-data np.nan, pd.NaT, pd.NA, dropna, isnull, interpolate Performance Memory or execution speed performance Regression Functionality that used to work in a prior pandas version labels Feb 25, 2024
@rhshadrach rhshadrach added this to the 2.2.2 milestone Feb 25, 2024
@rhshadrach
Copy link
Member Author

Not certain this is the PR that introduced the regression. Is it possible that making the shallow copy improves performance?

@DeaMariaLeon
Copy link
Member

@phofl This is the commit I mentioned to you on Slack (the one you thought that was off).

@phofl
Copy link
Member

phofl commented Feb 25, 2024

Not certain this is the PR that introduced the regression. Is it possible that making the shallow copy improves performance?

Yep possible, the shallow copy sets up references which means that follow up operations are not inplace anymore, which is sometimes faster. I would close here since this preserves the semantics that we want

@rhshadrach
Copy link
Member Author

Thanks for checking.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Missing-data np.nan, pd.NaT, pd.NA, dropna, isnull, interpolate Performance Memory or execution speed performance Regression Functionality that used to work in a prior pandas version
Projects
None yet
Development

No branches or pull requests

3 participants