Skip to content

PERF: series construction perf enhancements, use a fast path based on dt... #3333

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
Apr 12, 2013

Conversation

jreback
Copy link
Contributor

@jreback jreback commented Apr 12, 2013

This is only 1us improvement, but non-zero
(I measure the existing one at 9us, this puts it at 10, before
this change was about 11)

difference is 3 function calls, so not much more we can do I think
(as this is handling more cases)

-------------------------------------------------------------------------------
Test name                                    | head[ms] | base[ms] |  ratio   |
-------------------------------------------------------------------------------
series_constructor_ndarray                   |   0.0106 |   0.0120 |   0.8874 |
-------------------------------------------------------------------------------
Test name                                    | head[ms] | base[ms] |  ratio   |
-------------------------------------------------------------------------------

Ratio < 1.0 means the target commit is faster then the baseline.
Seed used: 1234

Target [c54848f] : PERF: series construction perf enhancements, use a fast path based on dtype
Base   [9764ea6] : Merge pull request #3332 from jreback/period_perf2

jreback added a commit that referenced this pull request Apr 12, 2013
PERF: series construction perf enhancements, use a fast path based on dt...
@jreback jreback merged commit 174196d into pandas-dev:master Apr 12, 2013
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant