Added profiling instructions to TESTING.md
This commit is contained in:
parent
1f0a9d9be9
commit
cf414e361a
11
TESTING.md
11
TESTING.md
|
@ -73,3 +73,14 @@ sudo python infra/helper.py build_image harfbuzz
|
|||
sudo python infra/helper.py build_fuzzers --sanitizer address harfbuzz
|
||||
sudo python infra/helper.py run_fuzzer harfbuzz hb-subset-fuzzer
|
||||
```
|
||||
|
||||
## Profiling
|
||||
|
||||
```
|
||||
make clean
|
||||
./configure CXXFLAGS="-fno-omit-frame-pointer -g"
|
||||
make
|
||||
perf record -o <perf output file> -g <command to run>
|
||||
perf report -i<perf output file>
|
||||
```
|
||||
|
||||
|
|
Loading…
Reference in New Issue