mirror of
https://github.com/shaka-project/shaka-packager.git
synced 2024-10-22 07:44:56 +00:00
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 |
||
---|---|---|
.. | ||
linux_profiling.md |