Skip to end of metadata
Go to start of metadata
You are viewing an old version of this page. View the current version.
Compare with Current
View Page History
« Previous
Version 11
Next »
Profiling setup
- Install xdebug (see Stack installation on CentOS 5)
- Configure with the option:
- Do not enable any other profiling option.
- Install
cg2dot.py
(via xdebugtoolkit)
- Install
graphviz
- Install
ghostscript
Running load tests
- Clear out CacheGrind results from
/tmp
.
- Make a single request:
- CacheGrind output will be on
/tmp
.
Processing results
- Initial setup (do this once):
- Convert the cachegrind output to a
.dot
file:
- Convert the
.dot
file into PDF-compatible PostScript:
- The SVG will be named
cg.svg
.