[Spice-devel] [PATCH spice-gtk 4/4] canvas: use precomputed revers_bits
Christophe Fergeau
cfergeau at redhat.com
Thu Sep 12 04:36:26 PDT 2013
On Thu, Sep 12, 2013 at 01:32:07PM +0200, Marc-André Lureau wrote:
> On Wed, Sep 11, 2013 at 11:09 AM, Christophe Fergeau
> <cfergeau at redhat.com> wrote:
> > On Tue, Sep 10, 2013 at 04:43:39PM +0200, Marc-André Lureau wrote:
> >> From: Marc-André Lureau <marcandre.lureau at gmail.com>
> >>
> >> Thos function shows up in some profiling results, it seems we can
> >> trivially replace it with a precomputed array of 256bytes.
> >
> > I forgot to ask, is the function less obvious in the profiling results
> > after your changes?
> >
> > Christophe
>
> The test is a recoridng of XP cmd doing a recursive dir, for about 30%
> of the total recording time:
> (http://elmarco.fedorapeople.org/xp.xz)
>
> before:
> 5.66% 691 lt-spicy-stats
> libspice-client-glib-2.0.so.8.4.0 [.] revers_bits
> after:
> 0.53% 64 lt-spicy-stats
> libspice-client-glib-2.0.so.8.4.0 [.] revers_bits
>
> (fyi, 5% is about the same amount of cpu used for glz or quic decoding
> in this recording)
Ah, thanks, I did not expect hard numbers given your cover letter, let's
just add this data to the commit log then.
Christophe
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: not available
URL: <http://lists.freedesktop.org/archives/spice-devel/attachments/20130912/40139a54/attachment.pgp>
More information about the Spice-devel
mailing list