Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(3704)

Issue 13261046: code review 13261046: misc/pprof: web command does not open browser/svg-viewe...

Can't Edit
Can't Publish+Mail
Start Review
Created:
10 years, 8 months ago by shiv
Modified:
10 years, 3 months ago
CC:
golang-codereviews
Visibility:
Public.

Description

misc/pprof: web command does not open browser/svg-viewer in windows Incase of windows, open svg file using default viewer as associated in the OS. Let OS open the file or bring up file association dialog as the case maybe. Better error handling/message when "dot"(graphviz) is not present.

Patch Set 1 #

Patch Set 2 : diff -r 21a81bde7dc9 https://code.google.com/p/go #

Patch Set 3 : diff -r 21a81bde7dc9 https://code.google.com/p/go #

Total comments: 2

Patch Set 4 : diff -r 2aef8fd83bbd https://code.google.com/p/go #

Total comments: 2
Unified diffs Side-by-side diffs Delta from patch set Stats (+13 lines, -1 line) Patch
M misc/pprof View 1 2 3 5 chunks +13 lines, -1 line 2 comments Download

Messages

Total messages: 13
shiv
Hello golang-dev@googlegroups.com (cc: bradfitz@golang.org, golang-dev@googlegroups.com), I'd like you to review this change to https://code.google.com/p/go
10 years, 8 months ago (2013-08-28 02:23:05 UTC) #1
brainman
This is what I get (pprof) web Total: 24 samples 'dot' is not recognized as ...
10 years, 8 months ago (2013-08-28 07:33:54 UTC) #2
slimsag
AFAIK pprof requires graphviz to generate SVG graphs for displaying in browsers. Do you have ...
10 years, 8 months ago (2013-08-28 13:07:09 UTC) #3
shiv
On 2013/08/28 07:33:54, brainman wrote: > > (pprof) web > Total: 24 samples > 'dot' ...
10 years, 8 months ago (2013-08-28 18:06:10 UTC) #4
bradfitz
https://codereview.appspot.com/13261046/diff/6001/misc/pprof File misc/pprof (right): https://codereview.appspot.com/13261046/diff/6001/misc/pprof#newcode2036 misc/pprof:2036: close(DOT) || error("Error while executing dot(is graphviz installed?): $!\n"); ...
10 years, 8 months ago (2013-08-28 18:12:46 UTC) #5
brainman
Please add "Fixes Issue 6263" if it does. Thank you. Alex
10 years, 8 months ago (2013-08-29 01:28:39 UTC) #6
brainman
On 2013/08/28 18:06:10, shiv wrote: > > ..., install graphviz and ensure "dot" command is ...
10 years, 8 months ago (2013-08-29 01:52:30 UTC) #7
shiv
PTAL On 2013/08/29 01:28:39, brainman wrote: > Please add "Fixes Issue 6263" if it does. ...
10 years, 7 months ago (2013-09-05 00:54:26 UTC) #8
shiv
PTAL. Can this go into Go1.2. Thanks?
10 years, 7 months ago (2013-09-18 08:45:20 UTC) #9
bradfitz
Too late for Go 1.2. Maybe https://code.google.com/p/go/issues/detail?id=6281 will happen before Go 1.3. https://codereview.appspot.com/13261046/diff/17001/misc/pprof File misc/pprof ...
10 years, 7 months ago (2013-09-23 16:33:08 UTC) #10
gobot
R=bradfitz@golang.org (assigned by alex.brainman@gmail.com)
10 years, 4 months ago (2013-12-20 05:19:54 UTC) #11
gobot
Replacing golang-dev with golang-codereviews.
10 years, 4 months ago (2013-12-20 16:26:00 UTC) #12
bradfitz
10 years, 3 months ago (2014-01-14 23:27:49 UTC) #13
R=close

I don't think we're doing any more development on this Perl version of pprof.

Let's wait to tinker with this once it's in Go.
Sign in to reply to this message.

Powered by Google App Engine
RSS Feeds Recent Issues | This issue
This is Rietveld f62528b