From cf414e361a99decd9c1710f1012236bffd067878 Mon Sep 17 00:00:00 2001 From: Garret Rieger Date: Fri, 27 Sep 2019 09:55:17 -0700 Subject: [PATCH] Added profiling instructions to TESTING.md --- TESTING.md | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/TESTING.md b/TESTING.md index 4efc64ca5..94be3a0a7 100644 --- a/TESTING.md +++ b/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 -g +perf report -i +``` +