bug-gnustep
[Top][All Lists]
Advanced

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

[patch #8781] [back] Faster bitmap drawing on Cairo


From: Fred Kiefer
Subject: [patch #8781] [back] Faster bitmap drawing on Cairo
Date: Tue, 27 Oct 2015 22:13:09 +0000
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:41.0) Gecko/20100101 Firefox/41.0

Update of patch #8781 (project gnustep):

                  Status:                    None => Done                   
             Assigned to:                    None => FredKiefer             
             Open/Closed:                    Open => Closed                 

    _______________________________________________________

Follow-up Comment #1:

I tried your patch on my computer and here are the results.

Before:

fred@hugo:~/GNUstep/Examples/decimal> openapp ./speed.app/
2015-10-27 23:40:42.885 speed[3507:3507] Speed test for image of size: {width
= 512; height = 512}
2015-10-27 23:40:42.978 speed[3507:3507]  500 32-bit draws: 0.880506 sec.
2015-10-27 23:40:42.978 speed[3507:3507]  500 24-bit draws: 0.796557 sec.
2015-10-27 23:40:42.978 speed[3507:3507]  500 reads: 0.930946 sec.

After:

fred@hugo:~/GNUstep/Examples/decimal> openapp ./speed.app/
2015-10-27 23:44:25.920 speed[3888:3888] Speed test for image of size: {width
= 512; height = 512}
2015-10-27 23:44:25.922 speed[3888:3888]  500 32-bit draws: 0.810091 sec.
2015-10-27 23:44:25.922 speed[3888:3888]  500 24-bit draws: 0.776128 sec.
2015-10-27 23:44:25.922 speed[3888:3888]  500 reads: 0.958851 sec.


As you can see there are only minimal speed ups for the drawing cases and a
small slow down for the reading one. Overall my computer, which is rather old,
seems to be 10 times faster than your Raspberry Pi. Overall the variations
between different runs of the same code seem to be higher than between the
different code versions.

I will apply your patch anyway, as it helps on very slow machines.



    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/patch/?8781>

_______________________________________________
  Nachricht gesendet von/durch Savannah
  http://savannah.gnu.org/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]