Difference between revisions of "Pprof"

From wikieduonline
Jump to navigation Jump to search
Line 5: Line 5:
 
* pprof -top [main_binary] profile.pb.gz
 
* pprof -top [main_binary] profile.pb.gz
  
 +
== Errors ==
 +
package command-line-arguments is not a main package
  
  

Revision as of 05:52, 24 March 2023

https://github.com/google/pprof

  • go install github.com/google/pprof@latest
  • pprof -top [main_binary] profile.pb.gz

Errors

package command-line-arguments is not a main package


Related


See also

Advertising: