Skip to content
This repository has been archived by the owner on Mar 7, 2019. It is now read-only.

Commit

Permalink
Recommend inbuilt pprof instead of go-torch (#76)
Browse files Browse the repository at this point in the history
  • Loading branch information
prashantv committed Oct 11, 2018
1 parent ddbe52c commit 9ae4ae2
Showing 1 changed file with 19 additions and 0 deletions.
19 changes: 19 additions & 0 deletions README.md
@@ -1,5 +1,24 @@
# go-torch [![Build Status](https://travis-ci.org/uber/go-torch.svg?branch=master)](https://travis-ci.org/uber/go-torch) [![Coverage Status](http://coveralls.io/repos/uber/go-torch/badge.svg?branch=master&service=github)](http://coveralls.io/github/uber/go-torch?branch=master) [![GoDoc](https://godoc.org/github.com/uber/go-torch?status.svg)](https://godoc.org/github.com/uber/go-torch)

## go-torch is deprecated, use pprof instead

As of Go 1.10, flamegraph visualizations are available in `go tool pprof` directly!

```
# This will listen on :8081 and open a browser.
# Change :8081 to a port of your choice.
$ go tool pprof -http=":8081" [binary] [profile]
```

If you cannot use Go 1.10, you can get the latest `pprof` tool and use it instead:

```
# Get the pprof tool directly
$ go get -u github.com/google/pprof
$ pprof -http=":8081" [binary] [profile]
```

## Synopsis

Tool for stochastically profiling Go programs. Collects stack traces and
Expand Down

0 comments on commit 9ae4ae2

Please sign in to comment.