On Thu, Oct 6, 2016 at 12:34 PM, Conrado PLG <conrado...@gmail.com> wrote: > > Is there a way to profile gccgo programs? > > Using go's profiler I get a one-line result responsible for 100% of the > running time. > I've also tried using gperftools, but it shows nonsensical results > ("backtrace_qsort" and "elf_symbol_compare" at the top, which seems to be > functions of the profiler itself).
You can use the standard GCC profiling tools. Compile and link with -pg, and examine the profile using gprof. Ian -- 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. For more options, visit https://groups.google.com/d/optout.