mirror of
https://github.com/qpdf/qpdf.git
synced 2025-02-07 06:08:26 +00:00
Maintainer notes for using profiler
This commit is contained in:
parent
8d7db4732b
commit
04419d7c32
@ -10,6 +10,13 @@ Debugging:
|
||||
|
||||
./configure CFLAGS="-g" CXXFLAGS="-g" --enable-werror --disable-shared
|
||||
|
||||
Profiling:
|
||||
|
||||
./configure CFLAGS="-g -pg" CXXFLAGS="-g -pg" LDFLAGS="-pg" \
|
||||
--enable-werror --disable-shared
|
||||
|
||||
Then run `gprof gmon.out`. Note that gmon.out is not cumulative.
|
||||
|
||||
Memory checks:
|
||||
|
||||
./configure CFLAGS="-fsanitize=address -fsanitize=undefined -g" \
|
||||
|
Loading…
x
Reference in New Issue
Block a user