IBM i developers now have an alternative to proprietary data visualization tools to pinpoint potential bottlenecks in PHP and Node.js code.

QCachegrind, an open source tool developed by KDE, turns raw application profiling data into meaningful graphs and visualizations that highlight a program’s most time-consuming functions.

QCachegrind Application Profiling Tool

QCachegrind graphically shows how your program runs and what’s slowing it down.

Seiden Group recently contributed enhancements to the QCachegrind project, including installers for Windows and Mac. Our free QCachegrind downloads let developers visualize profiling data from any open source application that supports its data format, including those written in PHP, Node.js, and Python.

PHP developers will use QCachegrind in conjunction with PHP’s Xdebug extension, which generates raw debugging and profiling data. QCachegrind turns Xdebug’s output into easy-to-use graphical representations so developers can quickly see and fix potential problems. The graphics highlight which parts of the programs take the most time to execute, use the most memory, and get called most often.

QCachegrind also illustrates the flow of your code in useful ways. For example, it highlights slow “hot paths.” Some hot paths, such as database calls, are unavoidable. Often, however, developers can simplify or reduce the number of times they call less critical hot path functions, once they know about them.

In addition to downloading the free QCachegrind, learn more about Seiden’s license-free CommunityPlus+ PHP and no-excuses PHP support.