Skip to content
/ sprof Public
forked from ondrajz/go-callvis

sprof is the next revolution in Go profiling

License

Notifications You must be signed in to change notification settings

felixge/sprof

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

April 1st: Hold your turing awards, check the release date, and then enjoy this project for what it is : ).

sprof

sprof is the next revolution in Go profiling. Instead of precariously measuring the execution of your program during runtime, sprof can find performance bottlenecks using only static analysis. Say good bye to irreproducible performance issues and high overhead profiling in production and welcome your new performance overlord, sprof.

Tutorial

Installing sprof is easy, just run:

go get -u github.com/felixge/sprof

Then go the directory of your Go program and run it:

sprof github.com/felixge/sprof/examples/main pprof.pb.gz
go tool pprof -http=:6060 pprof.pb.gz

And voila, your profile shows up:

Of course sprof also works with more complex Go projects such as hugo:

History

sprof is the result of months of research and engineering and was first released on 2021-04-01.

Credits

Credit goes to github.com/ofabry/go-callvis for providing the foundation for sprof.

About

sprof is the next revolution in Go profiling

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Go 100.0%