9c95309c12
Profiling can be enabled by setting profiling=1 in gyp, e.g. GYP_DEFINES="profiling=1" gclient runhooks To turn on heap profiling, use the HEAPPROFILE environment variable to specify a filename for the heap profile dump, e.g. HEAPPROFILE=/tmp/heapprofile out/Release/packager ... To turn on cpu profiling, use the CPUPROFILE environment variable to specify a filename for the cpu profile dump, e.g. CPUPROFILE=/tmp/cpuprofile out/Release/packager ... Note that profiling may not work for debug builds, so use release build if possible. See docs/linux_profiling.md for details. This change will help identify and resolve problem behind Issue #61. Change-Id: I6f85a04ed82dd0cb3588e6b38e8ceb68dac6c436 |
||
---|---|---|
.. | ||
app | ||
media | ||
mpd | ||
testing | ||
third_party | ||
tools | ||
common.gypi | ||
packager.gyp |