Re: g_type_instance_is_a (was Cairo 1.3 performance loss)
- From: "Daniel Amelang" <daniel amelang gmail com>
- To: "Soeren Sandmann" <sandmann daimi au dk>
- Cc: performance-list <performance-list gnome org>
- Subject: Re: g_type_instance_is_a (was Cairo 1.3 performance loss)
- Date: Thu, 25 Jan 2007 12:43:10 -0800
On 25 Jan 2007 21:16:23 +0100, Soeren Sandmann <sandmann daimi au dk> wrote:
"Daniel Amelang" <daniel amelang gmail com> writes:
> So, the tessellator behavior that you're seeing is interesting and
> deserves some looking into. But I can't help but notice in your
> profiles that g_type_instance_is_a takes up 3x the CPU that the
> tessellator does. And with the old tessellator, g_type_instance_is_a
> takes 9x the CPU the tessellator does. Now, I'm not a GTK guru, and I
> have a lot of confidence in the GTK developers, so what's the story?
Note that development versions of GTK+ have much more debugging code
turned on which among other things means many more calls to
g_type_instance_is_a(). So be sure to compare apples to apples. (Not
saying you didn't).
Good point. I don't know, these profiles come from Jorn, and only he
knows the details behind what was compiled and how (flags, etc). Jorn?
Dan
[
Date Prev][Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]