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

PERF: Index.difference #55108

Merged
merged 4 commits into from Sep 13, 2023
Merged

Conversation

lukemanley
Copy link
Member

asv continuous -f 1.1 upstream/main perf-index-difference -b index_object.SetDisjoint

       before           after         ratio
-      7.97±0.4ms       3.16±0.4ms     0.40  index_object.SetDisjoint.time_datetime_difference_disjoint

asv continuous -f 1.1 upstream/main perf-index-difference -b multiindex_object.Difference

       before           after         ratio
-      3.55±0.7ms       1.29±0.3ms     0.36  multiindex_object.Difference.time_difference('int')
-      3.79±0.5ms       1.20±0.2ms     0.32  multiindex_object.Difference.time_difference('datetime')

@lukemanley lukemanley added Performance Memory or execution speed performance Index Related to the Index class or subclasses setops union, intersection, difference, symmetric_difference labels Sep 12, 2023
@lukemanley lukemanley added this to the 2.2 milestone Sep 12, 2023
@mroeschke mroeschke merged commit 0bdbc44 into pandas-dev:main Sep 13, 2023
39 checks passed
@mroeschke
Copy link
Member

Thanks @lukemanley

hedeershowk pushed a commit to hedeershowk/pandas that referenced this pull request Sep 20, 2023
* PERF: Index.difference

* whatsnew

* remove is_monotonic check
@rhshadrach
Copy link
Member

This patch 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.

79067a7...0bdbc44

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Index Related to the Index class or subclasses Performance Memory or execution speed performance setops union, intersection, difference, symmetric_difference
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants