Showing posts with label profiling. Show all posts
Showing posts with label profiling. Show all posts

Tuesday, September 27, 2011

Google Performance Tools


Version 0.5 (last updated Fri Mar 11 05:58:27 PST 2005) of the google-perftools has the following 4 tools:
* thread-caching malloc
* heap-checking using tcmalloc
* heap-profiling using tcmalloc
* CPU profiler
The tool claims "The fastest malloc we've seen; works particularly well with threads and STL. Also: thread-friendly heap-checker, heap-profiler, and cpu-profiler."  They work on Linux 9 and C++ programs.  In the README it claims that Google is porting it to Windows but no clear date when that will happen.  The tcmalloc library performance is impressive, and the CPU profiler works great, especially the display of the output.
To download, go to http://sourceforge.net/projects/goog-perftools.  To install, read the INSTALL file in the unzipped directory.  Here is the main section on installation.  If you are running on Linux 2.6.x kernel, there are RPMs ready to install (without having to compile):