Closed PSeitz closed 1 year ago
There's #163 for this.
Cool, it's been merged. @YangKeao Can you release a new version?
Seconding this! Would be nice to have a version released with this PR integrated!
Before the newer release,we can use
pprof = { git = "https://github.com/tikv/pprof-rs", features = [ "flamegraph", "criterion", ] }
in Cargo.toml
temporarily.
Before the newer release,we can use
pprof = { git = "https://github.com/tikv/pprof-rs", features = [ "flamegraph", "criterion", ] }
in Cargo.toml temporarily.
Thanks. Yeah, the master branch works with Criterion 0.4. I would recommend a locked rev
just for reproducibility:
[target.'cfg(unix)'.dev-dependencies]
# pprof = "0.10.1"
pprof = { git = "https://github.com/tikv/pprof-rs", rev="a280c9e71f", features = ["flamegraph", "criterion"] }
0.11.0 is released, which contains the change 🎉
criterion 0.4 has recently been released. The
Profiler
trait changed and is not compatible currently withpprof
.