Profile with Cachegrind

When it comes to larger projects than yet another WordPress blog, refactoring and additional memory optimization are required to move the project in the right direction. Cachegrind is a GPL profiler for applications. It simulates how the program interacts with the architecture - including cache layers from the standard configuration of the modern systems and the CPU cache types that are normally presented. This allows for profiling applications on a lower level, including: the time for calling a function/initializing an object/etc the number of calls for a given function stacktrace of calls And much more. In essence, it's a visual… Continue Reading