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

Exclude protected benchmark modules #1441

Open
AntoineD opened this issue Nov 18, 2024 · 1 comment
Open

Exclude protected benchmark modules #1441

AntoineD opened this issue Nov 18, 2024 · 1 comment

Comments

@AntoineD
Copy link

Hello,

I would like to factorize benchmark methods in a base class which is in a protected module, but asv executes it.
Would it be possible to prevent asv from doing that?

@HaoZeke
Copy link
Member

HaoZeke commented Nov 23, 2024

If the intent is to have asv not benchmark certain configurations you might consider the SkipNotImplemented exception as seen in this section on Skipping Benchmarks.

Could you provide a minimum working example for a more concrete discussion?

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

No branches or pull requests

2 participants