You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
with benches/benchmarks.rs being present and defined in Cargo.toml leads to benchmark names being printed but no benchmark-code being actually executed.
It would be great if there was support between divan and flamegraph!
If I do something wrong and this should already work, please let me know.
The text was updated successfully, but these errors were encountered:
In my experience, it seems like the benchmarks are being run, but only a single sample of each. I can verify this be having a single benchmark that is expected to run for a nontrivial amount of time (like 20s).
Using cargo bench with divan, I know how long a single sample should take, and using cargo flamegraph appears to take that exact amount of time. The resulting flamegraph looks plausible.
However, no measurements are printed to the console, and --sample-count is ignored.
Maybe this is WAI and we just need some documentation?
Using https://github.com/flamegraph-rs/flamegraph with
with
benches/benchmarks.rs
being present and defined in Cargo.toml leads to benchmark names being printed but no benchmark-code being actually executed.It would be great if there was support between
divan
andflamegraph
!If I do something wrong and this should already work, please let me know.
The text was updated successfully, but these errors were encountered: