No tienes permiso para eliminar mensajes de este grupo
Copiar enlace
Denunciar mensaje
Mostrar el mensaje original
Las direcciones de correo electrónico de este grupo son anónimas o necesitas el permiso para ver las direcciones de correo electrónico de los miembros para poder ver el mensaje original
a golan...@googlegroups.com
Hello,
I am using the pprof profiler. This worked well until recently.
Now I run a program with profiling enabled and it runs about 11 minutes:
Each sample is 1/100 s, so I have profiling data for about 4 minutes only. I wonder why.
The program uses a recursive algorithm, maybe this is important.
I you need any more information let me know. Thanks in advance,
Heiko
hs
no leída,
9 may 2013, 7:29:489/5/13
Responder al autor
Iniciar sesión para responder al autor
Reenviar
Iniciar sesión para reenviar
Eliminar
No tienes permiso para eliminar mensajes de este grupo
Copiar enlace
Denunciar mensaje
Mostrar el mensaje original
Las direcciones de correo electrónico de este grupo son anónimas o necesitas el permiso para ver las direcciones de correo electrónico de los miembros para poder ver el mensaje original
a golan...@googlegroups.com
I run into the same issue again, this time i used perf and i see some interesting differences to pprof
I run my benchmark with
perf record -g -- go test -test.run="jjj" -test.bench="10" -cpuprofile cpu.prof
according to the perf report a significant amount of time is spent in runtime.newsstack and runtime.oldstack. pprof does not report this time at all, which explains the missing time in pprof. this is odd.
and: i don't know what causes the program to spent so much time in runtime.newsstack, this behaviour occurred after making a rather small change (saving some values into an array along the way). going back to an old version make pprof and perf report look equal. maybe this information is important, because i can imagine the problem lies deep somewhere in the go runtime code. just guessing.
any help appriciated. regards
heiko
Dmitry Vyukov
no leída,
22 may 2013, 15:23:5622/5/13
Responder al autor
Iniciar sesión para responder al autor
Reenviar
Iniciar sesión para reenviar
Eliminar
No tienes permiso para eliminar mensajes de este grupo
Copiar enlace
Denunciar mensaje
Mostrar el mensaje original
Las direcciones de correo electrónico de este grupo son anónimas o necesitas el permiso para ver las direcciones de correo electrónico de los miembros para poder ver el mensaje original
a golan...@googlegroups.com
Hi,
Thanks!
There is indeed an issue in pprof profiler in Go runtime, it ignores samples in newstack/oldstack.
No tienes permiso para eliminar mensajes de este grupo
Copiar enlace
Denunciar mensaje
Mostrar el mensaje original
Las direcciones de correo electrónico de este grupo son anónimas o necesitas el permiso para ver las direcciones de correo electrónico de los miembros para poder ver el mensaje original
a golan...@googlegroups.com
ok, thanks, sorry that i didn't report back (because nobody answered), but I found an issue for that problem:
So what I do right now is turning my recursive function into an iterative one. Seems I end up in spaghetti code this way.
Dmitry Vyukov
no leída,
23 may 2013, 3:26:5123/5/13
Responder al autor
Iniciar sesión para responder al autor
Reenviar
Iniciar sesión para reenviar
Eliminar
No tienes permiso para eliminar mensajes de este grupo
Copiar enlace
Denunciar mensaje
Mostrar el mensaje original
Las direcciones de correo electrónico de este grupo son anónimas o necesitas el permiso para ver las direcciones de correo electrónico de los miembros para poder ver el mensaje original
a hs,golang-nuts
Thanks!
I've merged and updated the issues.
> --
> 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...@googlegroups.com.
> For more options, visit https://groups.google.com/groups/opt_out.
>
>