-
Notifications
You must be signed in to change notification settings - Fork 163
feature: allow choosing custom build profiles #257
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
Comments
Makes sense, want to submit a PR? |
I'll put it on my TODO list. |
Released https://github.com/flamegraph-rs/flamegraph/releases/tag/v0.6.3 last week. |
jtmoon79
added a commit
to jtmoon79/super-speedy-syslog-searcher
that referenced
this issue
May 21, 2023
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
tl;dr allow passing
--profile
tocargo flamegraph
Problem
In
Cargo.toml
, I optimized the release profile for the binary.Now
cargo flamegraph
fails withSolution
Allow passing
--profile=profile_name
tocargo flamegraph
, similar tocargo build --profile=...
. Thenflamegraph
could then pass theprofile_name
to the underlyingcargo build --profile=
call. This would allow creating a custom profile for flamegraph inCargo.toml
.For example, I would then be able to add to
Cargo.toml
:and then I could select that build profile with
The text was updated successfully, but these errors were encountered: