Skip to content

ASV: Add benchmarks for groupby with multiple categories #56030

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

Merged
merged 1 commit into from
Nov 18, 2023

Conversation

rhshadrach
Copy link
Member

  • closes #xxxx (Replace xxxx with the GitHub issue number)
  • Tests added and passed if fixing a bug or adding a new feature
  • All code checks passed.
  • Added type annotations to new arguments/methods/functions.
  • Added an entry in the latest doc/source/whatsnew/vX.X.X.rst file if fixing a bug or adding a new feature.

Timings:

[ 78.57%] ··· groupby.MultipleCategories.time_groupby_extra_cat_nosort                 29.5±2ms
[ 82.14%] ··· groupby.MultipleCategories.time_groupby_extra_cat_sort                 54.4±0.1ms
[ 85.71%] ··· groupby.MultipleCategories.time_groupby_nosort                         23.0±0.2ms
[ 89.29%] ··· groupby.MultipleCategories.time_groupby_ordered_nosort                 23.3±0.1ms
[ 92.86%] ··· groupby.MultipleCategories.time_groupby_ordered_sort                   50.9±0.4ms
[ 96.43%] ··· groupby.MultipleCategories.time_groupby_sort                           50.4±0.3ms
[100.00%] ··· groupby.MultipleCategories.time_groupby_transform                       629±0.8μs

@rhshadrach rhshadrach added Enhancement Groupby Categorical Categorical Data Type Benchmark Performance (ASV) benchmarks labels Nov 17, 2023
@rhshadrach rhshadrach added this to the 2.2 milestone Nov 17, 2023
@mroeschke mroeschke merged commit e75a2a1 into pandas-dev:main Nov 18, 2023
@mroeschke
Copy link
Member

Thanks @rhshadrach

@rhshadrach rhshadrach deleted the asv_gb_multicat branch November 18, 2023 01:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Benchmark Performance (ASV) benchmarks Categorical Categorical Data Type Enhancement Groupby
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants