Re: Scintilla GTK2 profiling results



Biswapesh Chattopadhyay <biswapesh_chatterjee tcscal co in> writes:

> I updated Pango to latest pango-1-2 branch at Soren's sugegstion, but
> the figures remain roughly the same. Is there any way to check whether
> I'm using the latest library or not ?

I think you are using the right library. The problem is really just
that the text sample was so small that Pango spent a lot of time
building caches etc.

> BTW, Soren just pointed out (on #anjuta) that the teh profile looks
> quite different when loading multiple files - I'll check that out
> too.

Loading files is not a good benchmark to profile, because loading
files is actually quite fast. As I also said on IRC, I think the real
reason Scintilla feels slow during scrolling is that it redraws the
entire window every time the scroll bar moves. 

You should probably look into using gdk_window_scroll() to only draw
the small strip that is brought in from off-screen.


Søren



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]