Re: [RFC PATCH 0/5] various optimizations

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

 



On Tue, Jun 03, 2014 at 06:52:47PM +0200, Giuseppe Scrivano wrote:
> Christophe Fergeau <cfergeau@xxxxxxxxxx> writes:
> > The call to osinfo_loader_get_device() can also hide a g_object_new(),
> > which can be heavy.
> 
> indeed, g_object_new seems to be very slow.  I will try to play with
> what Daniel suggested and see if it makes any difference.

Some profiling should tell you if the expensive part is the object
creation or the hash table insertion, and how much slower one is
compared to the ohter. Did you get these numbers by any chance?

Christophe

Attachment: pgpuwECBW7VOA.pgp
Description: PGP signature

_______________________________________________
Libosinfo mailing list
Libosinfo@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libosinfo

[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Fedora Users]     [Fedora Maintainers]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]

  Powered by Linux