This tutorial introduces CPU profiling of IMP code with Google's gperftools package, to track down where time is being spent. See the IMP website for the tutorial text.