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
I am not sure what you mean with profiling. This crate allows you to use perf counters as input for criterion.rs and criterion uses them the same way as it uses its default inputs.
Criterion is mainly for benchmark (measuring how fast a block of code runs). However, it support profiling a block of code too, which measures how much relative time each part of the code block takes. This is often very helpful for identify the bottleneck of a code block. There is a Rust crate pprof for profiling which supports integration with Criterion.
criterion-perf-events is great plugin for Criterion and I have been using criterion + criterion-perf-events to generate stable benchmark results. However, I'd like to know whether it's possible to leverage criterion-perf-events (or the underlying crate perfcnt) for profiling as well.
Criterion supports profiling as well. Can this crate be used for profiling with criterion?
The text was updated successfully, but these errors were encountered: