An open API service providing package, version and dependency metadata of many open source software ecosystems and registries.

Top 5.9% on proxy.golang.org
Top 1.2% dependent packages on proxy.golang.org
Top 0.4% dependent repos on proxy.golang.org
Top 9.8% forks on proxy.golang.org
Top 1.9% docker downloads on proxy.golang.org

proxy.golang.org : github.com/juju/httpprof

Package pprof serves via its HTTP server runtime profiling data in the format expected by the pprof visualization tool. For more information about pprof, see http://code.google.com/p/google-perftools/. The package is typically only imported for the side effect of registering its HTTP handlers. The handled paths all begin with /debug/pprof/. To use pprof, link this package into your program: If your application is not already running an http server, you need to start one. Add "net/http" and "log" to your imports and the following code to your main function: Then use the pprof tool to look at the heap profile: Or to look at a 30-second CPU profile: Or to look at the goroutine blocking profile: To view all available profiles, open http://localhost:6060/debug/pprof/ in your browser. For a study of the facility in action, visit

Registry - Source - Documentation - JSON
purl: pkg:golang/github.com/juju/httpprof
License: BSD-3-Clause
Latest release: over 10 years ago
First release: over 10 years ago
Namespace: github.com/juju
Dependent packages: 18
Dependent repositories: 368
Stars: 2 on GitHub
Forks: 3 on GitHub
Docker dependents: 1
Docker downloads: 27
See more repository details: repos.ecosyste.ms
Last synced: 20 days ago

    Loading...
    Readme
    Loading...