docs.rs failed to build pprof_hyper_server-0.2.1
Please check the build logs for more information.
See Builds for ideas on how to fix a failed build, or Metadata for how to configure docs.rs builds.
If you believe this is docs.rs' fault, open an issue.
Please check the build logs for more information.
See Builds for ideas on how to fix a failed build, or Metadata for how to configure docs.rs builds.
If you believe this is docs.rs' fault, open an issue.
Visit the last successful build:
pprof_hyper_server-0.2.2
pprof-hyper-server
A minimal pprof server implementation using
hyperwithout runtime dependency
About
Easily CPU/memory profile your Rust application with pprof.
For more details, see:
You most likely need a linux-ish machine for it to work (current msvc is not supported for both cpu and memory profiling).
Cargo features
pprof_cpuenables HTTP endpoint for CPU profiling.pprof_heapenables HTTP endpoint for heap profiling.pprofenablespprof_cpuandpprof_heap.
Basic API usage with pprof client
Install pprof client or use the one from Golang toolchain.
With Golang toolchain:
Related projects
- Project https://github.com/tikv/pprof-rs used internally for CPU profiling.
- Project https://github.com/polarsignals/rust-jemalloc-pprof used internally for memory profiling using Jemalloc allocator.