3 ms·
Last I heard the Go compiler was generating code 6x or more slower than comparable C++ code. Is that not still true?
by cageface 15y ago
Last I heard the Go compiler was generating code 6x or more slower than comparable C++ code. Is that not still true?
- enneff 15y agoYou heard wrong: http://blog.golang.org/2011/06/profiling-go-programs.html http://blog.golang.org/2011/06/profiling-go-programs.html
- andrewcooke 15y agoThe 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).
- enneff 15y agoGo's pprof is based on the C-based one: http://code.google.com/p/gperftools/ http://code.google.com/p/gperftools/