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

Support for benchmarking by key #46

Open
awadell1 opened this issue May 3, 2022 · 0 comments
Open

Support for benchmarking by key #46

awadell1 opened this issue May 3, 2022 · 0 comments
Labels
enhancement New feature or request

Comments

@awadell1
Copy link
Owner

awadell1 commented May 3, 2022

Add support for benchmarking/running a particular benchmark:

# Runs the ["bench_foo.jl", "foo"] benchmark
JogAwesome.benchmark(["bench_foo.jl", "foo"])

Key features:

  • Want to still support the save and ref flags
  • If ["bench_foo.jl", "foo"] is a group -> run all benchmarks in that group
  • If ["bench_foo.jl", "foo"] is a benchmark -> run that benchmark
  • Support for @tagged or indexing via another BenchmarkGroup ?

Issues

  • This does conflict with run(b::BenchmarkGroupOrTrial, p::Parameters; kwargs...), but I think that's fine
@awadell1 awadell1 added the enhancement New feature or request label May 3, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant