commit | cf414e361a99decd9c1710f1012236bffd067878 | [log] [tgz] |
---|---|---|
author | Garret Rieger <[email protected]> | Fri Sep 27 09:55:17 2019 -0700 |
committer | Garret Rieger <[email protected]> | Mon Oct 21 13:08:23 2019 -0700 |
tree | e6bbd3cc5538c579986b120eb3b7c354a2c98784 | |
parent | 1f0a9d9be979de01527c05f4dbe6fbc62799597c [diff] [blame] |
Added profiling instructions to TESTING.md
diff --git a/TESTING.md b/TESTING.md index 4efc64c..94be3a0 100644 --- a/TESTING.md +++ b/TESTING.md
@@ -73,3 +73,14 @@ 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> +``` +