Web GUI to inspect Valgrind and Xdebug profiling reports.
Gain performance insights of C and C++ applications using Valgrind with Callgrind as the profiling tool.
valgrind --tool=callgrind --dump-instr=yes --collect-jumps=yes <your program>
docker run --rm --pull always --name kcachegrind \
-p 127.0.0.1:80:80 \
-v "${PWD}:/data" \
nedix/kcachegrind
- Browse to the KCachegrind web interface on http://127.0.0.1:80
- Click on the Open button in the toolbar
- Navigate to the
/data
directory using the sidebar - Open your profiling report
Gain performance insights of PHP applications using Xdebug as the profiling tool.
wget https://raw.githubusercontent.com/nedix/kcachegrind-container/main/docs/examples/compose-php.yml
docker compose -f compose-php.yml up
- Navigate to any page on http://127.0.0.1:8081 to capture a profiling report
- Browse to the KCachegrind web interface on http://127.0.0.1:8082
- Click on the Open button in the toolbar
- Navigate to the
/data
directory using the sidebar - Open your profiling report