Download "user manual"

Transcript
Performance Tests
direct mode is on
•
Exec MS obj: time elapsed while creating Mapserver main object. It includes
reading the mapfile. Will be empty is script is executed on a client-only trace file
•
Exec MS other: time elapsed in other Mapserver tasks. Will be empty is script is
executed on a client-only trace file
•
Exec total: time elapsed in total. If direct mode is off, it also includes time elapsed
in SOAP data transmission
10.2.3. Graphical Interface (Unix-like)
To have more information about execution times and calls stack, you can use a
powerful graphical viewer called KCachegrind. This tool is available on Unix-like
environments only. On Win32, it can be used via KDE on CygWin.
KCachegrind is included in KDE (package kdesdk). To install it on a Debian
distribution, type:
apt-get install kcachegrind
APD package includes a script called pprof2calltree that can translate a trace
generated by APD to a file in KCachegrind format. To translate a pprof file, type:
./pprof2calltree -f <pprof_file> >/dev/null
Redirecting to /dev/null is needed because script generates a large number of PHP
notices. Then you can open the resulting file in KCachegrind.
247