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: Groupby.count #43694

Merged
merged 1 commit into from
Sep 22, 2021
Merged

Conversation

jbrockmendel
Copy link
Member

from asv_bench.benchmarks.groupby import *
self4 = GroupByMethods()
self4.setup('uint', 'count', 'direct', 5)

%timeit self4.time_dtype_as_field('uint', 'count', 'direct', 5)
231 µs ± 5.23 µs per loop (mean ± std. dev. of 7 runs, 1000 loops each)  # <- master
77.3 µs ± 619 ns per loop (mean ± std. dev. of 7 runs, 10000 loops each)  # <- PR

@jreback jreback added Groupby Performance Memory or execution speed performance labels Sep 22, 2021
@jreback jreback added this to the 1.4 milestone Sep 22, 2021
@jreback jreback merged commit 9a21c3c into pandas-dev:master Sep 22, 2021
@jbrockmendel jbrockmendel deleted the perf-grouped_reduce branch September 22, 2021 01:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Groupby Performance Memory or execution speed performance
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants