pprof_hyper_server

Crates.iopprof_hyper_server
lib.rspprof_hyper_server
version0.2.0
created_at2025-08-13 07:49:27.965765+00
updated_at2025-09-05 11:59:43.986202+00
descriptionA minimal pprof server implementation using hyper without runtime dependency
homepage
repositoryhttps://github.com/killzoner/pprof-hyper-server
max_upload_size
id1793396
size90,406
(killzoner)

documentation

https://docs.rs/pprof_hyper_server

README

continuous-integration

pprof-hyper-server

A minimal pprof server implementation using hyper without 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_cpu enables HTTP endpoint for CPU profiling.
  • pprof_heap enables HTTP endpoint for heap profiling.
  • pprof enables pprof_cpu and pprof_heap.

Basic API usage with pprof client

Install pprof client or use the one from Golang toolchain.

With Golang toolchain:

go tool pprof --http=: http://localhost:6060/debug/pprof/profile # CPU profiling
go tool pprof --http=: http://localhost:6060/debug/pprof/allocs # memory profiling

Related projects

Commit count: 12

cargo fmt