Abdelrazak Younes wrote:
Darren Freeman wrote:
On Fri, 2007-07-20 at 10:32 +0200, Abdelrazak Younes wrote:
I am sorry to hear that but we have no way to help you without nothing where the slowdown is. We need profile results! So, if you want to have a faster 1.5, please try to provide some.

I would love that but I'm currently without income owing to my thesis
not being written yet :)

If you can find the time to compile from a svn, compiling with profiling enabled is supposed to be easy on linux (with --enable-profile or something).
I'm incurring the same problem as Darren on svn (on FreeBSD). There is already a big time lag to type on a new document, and as the length of the document grows, the time lag becomes unbearable.

On a new document, typing can catch up if you type meaningful sentences, but it cannot catch up random typing. After ten seconds of random typing, you have to wait probably more than five seconds to complete. This may not be a problem to type English, but problematic in CJK environment, because they use Input Method to convert typed keys to a sentence, and a relatively long sentence is fed to lyx *at once* (but anyway as a document becomes longer, it also becomes unbearable in English).

I tried to write a small paper, but as the paper becomes longer, I found out the time lag makes lyx to an unusable level.

I suspect this may be a problem of qt4 (or may not), as there is a small time lag to open a menu in qt4 compared to qt3 (although this itself is not too slow to be a problem). Unfortunately, I find no error message either. In case, the debug message with random typing is as follows.

The tested machine has Xeon (nocona) 3GHz.

Koji

--
ParPosCache contains:
Text:0x92921bc
Paragraph 0: "asdf;lkasj" has point 0,36
Paragraph 1: "asdprov iu" has point 0,146
InsetCache contains:
dispatch msg is
SelfInsert arg[`d']
virtual void lyx::frontend::GuiWorkArea::keyPressEvent(QKeyEvent*) count=1 text=f isAutoRepeat=0 key=70
Setting key to 70, f
KeySym is f
isOK is 1
isMod is 0
void lyx::LyXFunc::processKeySym(lyx::KeySymbolPtr, lyx::key_modifier::state) action first set to [85] void lyx::LyXFunc::processKeySym(lyx::KeySymbolPtr, lyx::key_modifier::state)action now set to [85] void lyx::LyXFunc::processKeySym(lyx::KeySymbolPtr, lyx::key_modifier::state) Key [action=85][F]

LyXFunc::dispatch: cmd:  action: 85 arg: 'f' x: 0 y: 0
void lyx::Cursor::dispatch(const lyx::FuncRequest&) cmd: action: 85 arg: 'f' x: 0 y: 0

cursor:                                | anchor:
inset: 0x929219c idx: 0 par: 1 pos: 116 | inset: 0x929219c idx: 0 par: 1 pos: 116
selection: 0 x_target: -1

Cursor::dispatch: cmd:  action: 85 arg: 'f' x: 0 y: 0

cursor:                                | anchor:
inset: 0x929219c idx: 0 par: 1 pos: 116 | inset: 0x929219c idx: 0 par: 1 pos: 116
selection: 0 x_target: -1

virtual void lyx::InsetText::doDispatch(lyx::Cursor&, lyx::FuncRequest&) [ cmd.action = 85]
Text::dispatch: cmd:  action: 85 arg: 'f' x: 0 y: 0
bool lyx::BufferView::update(lyx::Update::flags)[fitcursor = 1, forceupdate = 0, singlepar = 4] buffer: 0x9282c00
BufferView::update
void lyx::BufferView::updateMetrics(bool) y1: 130 y2: 194 pit1: 1 pit2: 1 npit: 2 singlepar: 1size: 2
BufferView::updateMetrics
ParPosCache contains:
Text:0x92921bc
Paragraph 0: "asdf;lkasj" has point 0,36
Paragraph 1: "asdprov iu" has point 0,146
InsetCache contains:
void lyx::BufferView::updateScrollbar() Updating scrollbar: height: 2 curr par: 1 default height 24
WorkArea::redraw screen
#draw fdsafdsafdsafdsaasdfdsaadfasdf at 12,168
.

Reply via email to