Le 05/07/2016 à 18:34, Pavel Sanda a écrit :
Jean-Marc Lasgouttes wrote:
Comments welcome. My plan is to use that for both Qt4 and Qt5 (for
simplicity). Seeing the different behavior of Qt 4.8.1 and 4.8.7 (albeit
different machines), I suspect that the problem is elsewhere in the
configuration.

I would be glad to have numbers from your on systems.

Tested to see the impact on the speed of moving cursor throughout
first page of user manual (slowness reported while ago).

lyx 2.0.8 - ~14s
master(86c33c96a) - ~29s
master(86c33c96a)+your patch(no prof in config options) - ~23s

We are imporving, but we are not there yet. What were the typical 2.1.X numbers?

What does "no prof in config options" mean here? If you want to do wall clock timing, you should comment out the lines
PROFILE_THIS_BLOCK(atBreak)
PROFILE_CHACHE_MISS(atBreak)
in GuiFontMetrics::atBreak.


#pmprof# breakAt: 6.88usec, count=862, total=5.93msec
   hit: 97%, 5.12usec, count=842, total=4.31msec
   miss: 2%, 81.00usec, count=20, total=1.62msec

These numbers are much less dramatic than the ones I posted with Qt 4.8.7 and ubuntu 16.04. This is really strange.

JMarc

Reply via email to