Skip to content

BENCH: Masked array benchmarks #8929

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 2 commits into from
Apr 12, 2017

Conversation

eric-wieser
Copy link
Member

@eric-wieser eric-wieser commented Apr 11, 2017

This adds some benchmarks that will hopefully detect the effects of #8910 and #8924.

Is this a reasonable set of things to benchmark, and is this the right way to structure them?

import numpy as np


class MA(Benchmark):
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This was moved from bench_core. Is this a bad idea for asv?

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You mean, do we lose history?

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@pv Does this cause problems, or do cached results get recreated at some point.

@eric-wieser eric-wieser force-pushed the masked-array-benchmarks branch from f83c6ca to 78a1837 Compare April 12, 2017 00:11
@pv
Copy link
Member

pv commented Apr 12, 2017 via email

@pv
Copy link
Member

pv commented Apr 12, 2017 via email

@eric-wieser
Copy link
Member Author

Would doing "from bench_core import _MA as MA" solve this problem?

@eric-wieser
Copy link
Member Author

Sorry, I mean the other way around - move the source as I've done here, but leave the test accessible under bench_core.MA

@pv
Copy link
Member

pv commented Apr 12, 2017 via email

@charris
Copy link
Member

charris commented Apr 12, 2017

I suggest to not add any workarounds ...

Agree. The reorganization looks natural going forward.

@charris charris merged commit 7843711 into numpy:master Apr 12, 2017
@charris
Copy link
Member

charris commented Apr 12, 2017

Thanks Eric.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants