Re: Scintilla GTK2 profiling results
- From: Soeren Sandmann <sandmann daimi au dk>
- To: biswapesh_chatterjee tcscal co in
- Cc: Owen Taylor <otaylor redhat com>, Scintilla Interest <scintilla-interest lyra org>, GTK Devel <gtk-devel-list gnome org>, Neil Hodgson <nhodgson bigpond net au>, Naba Kumar <kh_naba gmx net>
- Subject: Re: Scintilla GTK2 profiling results
- Date: 16 Apr 2003 15:56:18 +0200
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]