Am Samstag, 23. Dezember 2017 um 20:35:04, schrieb Jean-Marc Lasgouttes 
<lasgout...@lyx.org>
> Hi there,
> 
> I took the dive to compile LyX on windows 10. Interesting experiment... 
> Intalling Visual studio takes maybe one hour (not downloading), Qt takes 
> just as much, selecting what platform to install is like evading a maze.
> 
> But, thanks to the nice INSTALL file, I did it (Qt 5.9.3 64bits) for 
> 2.3.x+properpaint branch (I will switch to master soon).
> 
> First (good) news: there is no black screen like on the Mac.
> 
> Second (bad) news: the performance is terrible, much worse that 2.2.3 as 
> packaged by Uwe. Uwe, what is your secret? Do I have to set some 
> optimization level?
> 
> I tried to run with a profiler (Very Sleepy CS), but without debug I do 
> not see any LyX function, and with debug what I see is some string 
> manipulation from the C++ library.
> 
> 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
> Kornel, what is a good set of parameters for profiling?
> 
> JMarc

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'.
Of course, I could never test it.

        Kornel

Attachment: signature.asc
Description: This is a digitally signed message part.

Reply via email to