Hello,

Did you find a solution to this problem? I have the same problem with 
weblist.

All the best,
Sergey

пятница, 24 июня 2022 г. в 15:27:11 UTC+3, Jochen Voss: 

> Hello,
>
> For a while, the "weblist" command in go tool pprof has been broken for me 
> ("list" still works).  Is this a known issue?  What can I do to fix this?
>
> What I am doing:
>
> - I am using "go version go1.18.3 darwin/arm64" on a MacBook Pro (M1 Pro 
> processor).
> - I am profiling one of my unit tests using the following command:
>     go test -run '^TestAll$' -cpuprofile cpu.out -memprofile mem.out
> - I am calling pprof using the command
>     go tool pprof sfnt.test cpu.out
> - most commands seem to work, for example:
> (pprof) top10
> Showing nodes accounting for 20130ms, 86.54% of 23260ms total
> Dropped 162 nodes (cum <= 116.30ms)
> Showing top 10 nodes out of 124
>       flat  flat%   sum%        cum   cum%
>     6790ms 29.19% 29.19%     6790ms 29.19%  runtime.madvise
>     4840ms 20.81% 50.00%     4840ms 20.81%  syscall.syscall6
>     1910ms  8.21% 58.21%     1910ms  8.21%  runtime.usleep
>     1740ms  7.48% 65.69%     1740ms  7.48%  runtime.pthread_kill
>     1710ms  7.35% 73.04%     1710ms  7.35%  runtime.pthread_cond_wait
>      990ms  4.26% 77.30%      990ms  4.26%  runtime.kevent
>      770ms  3.31% 80.61%     2020ms  8.68%  
> seehuhn.de/go/pdf/font/cff.decodeCharString
>      540ms  2.32% 82.93%     1440ms  6.19%  runtime.scanobject
>      530ms  2.28% 85.21%      530ms  2.28%  runtime.pthread_cond_signal
>      310ms  1.33% 86.54%     1040ms  4.47%  runtime.mallocgc
> - "list" works, for example I get the expected output for list 
> cff.decodeCharString
> - "weblist" does not work.  If I call weblist cff.decodeCharString the 
> web browser opens but shows a page containing only the following five lines 
> of text, and no listing:
>
>      File: sfnt.test
>      Type: cpu
>      Time: Jun 24, 2022 at 1:09pm (BST)
>      Duration: 19.03s, Total samples = 23.26s (122.20%)
>      Total: 23.26s
>
> Am I doing anything wrong?  I didn't find any reports of similar problems 
> on Google, so maybe this is just some oddity of my setup or me doing 
> something silly?
>
> All the best,
> Jochen
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"golang-nuts" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to golang-nuts+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/golang-nuts/789d30a8-7dd9-4826-aaef-9f25ef3494e7n%40googlegroups.com.

Reply via email to