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
Benchmark across different branches #606
Comments
You can do this using a combination of hyperfine \
--parameter-list branch main,performance-improvements \
--setup "git switch {branch}" \
"rails runner true"
This is indeed a very common use case. We should probably write some documentation for that. |
Another way to do this is to use |
When I'm working on performance, I tend to want to compare a baseline from our main branch against my current work. It'd be pretty handy to be able to specify branches at the CLI level to handle the switch. Maybe:
You can achieve something similar by including the git checkouts in the command:
The text was updated successfully, but these errors were encountered: