Le 24/12/2017 à 06:18, Kornel Benko a écrit :
What does debug mean? Is this only debug information or also
instrumenting for run-time checking?

Only Debug information. Also the optimization is turned to -O0

OK.

Kornel, what is a good set of parameters for profiling?

I would try
        -DLYX_DEBUG=ON -DLYX_PROFILE=ON -DLYX_CONSOLE=ON
and without -DLYX_INSTALL=ON, because this disables profiling on Windows.
        (You may comment the CMakeLists.txt:196 line
                                #set(LYX_PROFILE OFF)
)
but mark, my knowledge about Windows is nearly to nothing.
Also you may need 'gprof'.

Actually, gprof is no good for LyX, and is only for gcc. What I use these days is a build with full optimization and debug information. You can run that under a system level debugger and get good results.

You can take a look at the matrix of settings for the --enable-build-type option in INSTALL to see the autoconf choices.

JMarc

Reply via email to