Comment on C++11 Makes Competitors Go RustyparentComments−cageface14yLast I heard the Go compiler was generating code 6x or more slower than comparable C++ code. Is that not still true?−enneff14yYou heard wrong: http://blog.golang.org/2011/06/profiling-go-programs.html−andrewcooke14yThe graphviz / svg output from the profiler shown there is very nice. Does something similar exist for other languages? I particularly like the scaling of the node size by the appropriate value (CPU time, memory use, etc).−enneff14yGo's pprof is based on the C-based one: http://code.google.com/p/gperftools/
Comments
Last I heard the Go compiler was generating code 6x or more slower than comparable C++ code. Is that not still true?
You heard wrong: http://blog.golang.org/2011/06/profiling-go-programs.html
The graphviz / svg output from the profiler shown there is very nice. Does something similar exist for other languages? I particularly like the scaling of the node size by the appropriate value (CPU time, memory use, etc).
Go's pprof is based on the C-based one: http://code.google.com/p/gperftools/