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

How to see which code is covered or not by benchmarks? #115

Open
pllim opened this issue Apr 18, 2024 · 3 comments
Open

How to see which code is covered or not by benchmarks? #115

pllim opened this issue Apr 18, 2024 · 3 comments

Comments

@pllim
Copy link
Member

pllim commented Apr 18, 2024

Recently @eerovaher brought up this good question. Would be nice to see what code is actually benchmarked (like codecov style) without having to dig through each benchmark module.

Not sure how hard this is to do. Running coverage during actual benchmarking would give you inaccurate timing, so the coverage measurement would have to be a separate job just for coverage, not timing. 💭

@astrofrog
Copy link
Member

Can we run the benchmarks as if they were tests with pytest? Maybe this is possible with minimal changes?

@neutrinoceros
Copy link
Contributor

I think it's feasible indeed. I got a proof of concept in the works, I'll open a PR.

@neutrinoceros
Copy link
Contributor

see #116

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

No branches or pull requests

3 participants