Download the PHP package phperf/xh-tool without Composer
On this page you can find all versions of the php package phperf/xh-tool. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Please rate this library. Is it a good library?
Informations about the package xh-tool
XHPROF profile viewer CLI tool
A command-line tool to analyze XHPROF hierarchical data.
Installation
Download xh-tool.phar
from releases, optionally install bash completions and symlink to /usr/local/bin
with:
Or install via composer
:
Usage
Get a serialized profile data file, example: xhprof_report_sample.1518071438.9016.serialized
.
You can get a profile of standalone script with phperf/php-profiler
docker image:
Info
Get basic info about profile
Top
Get ordered functions list
Columns:
wallTime
is time spent in function (including child function calls).wallTime%
is time spent in function normalized tomain()
total time.wallTime1
is average time spent in 1 function call, valued aswallTime / count
.ownTime
is time spent in function (excluding child function calls).ownTime%
isownTime
normalized to tomain()
total time.ownTime1
is average time spent in 1 function call (excluding child function calls), valued asownTime / count
.cpuTime
is CPU time spent in function (including child function calls).cpuTime%
is CPU time spent in function normalized tomain()
total CPU time.cpuTime1
is average CPU time spent in 1 function call, valued ascpuTime / count
.ownCpuTime
is time spent in function (excluding child function calls).ownCpuTime%
isownCpuTime
normalized to tomain()
total CPU time.ownCpuTime1
is average time spent in 1 function call (excluding child function calls), valued asownCpuTime / count
.memoryUsage1
is average memory usage by 1 function call.peakMemoryUsage
is a peak value of memory usage if changed after function call.peakMemoryShift
is amount of memory contributed by function topeakMemoryUsage
.count
is number of function calls happened.
Func
Get info on specific function
Edges
Show raw edges of profile data
All versions of xh-tool with dependencies
PHP Build Version
Package Version
The package phperf/xh-tool contains the following files
Loading the files please wait ....