Le 15/10/2016 à 11:39, racoon a écrit :
Typing within the master's work area is slow on my computer (while it is
fine in 2.2.2 and 2.1.5). Maybe this just has to do with some debugging
running in the background or so?



Profiling shows that calls to BufferParams::isExportableFormat
are numerous and expensive when doing char-forward (33% of the total
amount of CPU). This is called from GuiView::updateToolbars ->
GuiView::getStatus. There is room for improvement, but this is not new
behaviour apparently.

I also found that calls to TabWorkArea::updateTabTexts are
expensive and repeatedb. This amounts to 31% of the total amount of CPU,
shared between QTabWidget::setTabText and QTabWidget::setTabIcon.
TabWorkArea::updateTabTexts is connected to the signal
GuiWorkArea::titleChanged.

A minimal working example to reproduce the slowness could help. You
can also try to profile your installation yourself with callgrind (you
will have to adapt for windows the instructions at
https://wiki.lyx.org/FAQ/FurtherHelp#profile)

Jean-Marc, could the calls to TabWorkArea::updateTabTexts have to do
with your work on improved titles?

Reply via email to