Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > gnu.gnustep.bug > #4055

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

Path csiph.com!au2pb.net!usenet.blueworldhosting.com!feeder01.blueworldhosting.com!news.glorb.com!usenet.stanford.edu!not-for-mail
From Fred Kiefer <INVALID.NOREPLY@gnu.org>
Newsgroups gnu.gnustep.bug
Subject [patch #8781] [back] Faster bitmap drawing on Cairo
Date Tue, 27 Oct 2015 22:13:09 +0000
Lines 52
Approved bug-gnustep@gnu.org
Message-ID <mailman.1175.1445983999.7904.bug-gnustep@gnu.org> (permalink)
References <20151025-001330.sv98131.41063@savannah.gnu.org>
NNTP-Posting-Host lists.gnu.org
Mime-Version 1.0
Content-Type text/plain;charset=UTF-8
X-Trace usenet.stanford.edu 1445983999 4989 208.118.235.17 (27 Oct 2015 22:13:19 GMT)
X-Complaints-To action@cs.stanford.edu
To Fred Kiefer <FredKiefer@gmx.de>, Riccardo Mottola <rm@gnu.org>, Josh Freeman <gnustep@twilightedge.com>, bug-gnustep@gnu.org
Envelope-to bug-gnustep@gnu.org
X-PHP-Originating-Script 0:sendmail.php
X-Savane-Server savannah.gnu.org:443 [208.118.235.70]
X-Savane-Project gnustep
X-Savane-Tracker patch
X-Savane-Item-ID 8781
User-Agent Mozilla/5.0 (X11; Linux x86_64; rv:41.0) Gecko/20100101 Firefox/41.0
X-Apparently-From 84.174.239.206 (Savane authenticated user FredKiefer)
In-Reply-To <20151025-001330.sv98131.41063@savannah.gnu.org>
X-detected-operating-system by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value).
X-Received-From 2001:4830:134:6::a
X-BeenThere bug-gnustep@gnu.org
X-Mailman-Version 2.1.14
Precedence list
List-Id Bug reports for the GNUstep programming environment <bug-gnustep.gnu.org>
List-Unsubscribe <https://lists.gnu.org/mailman/options/bug-gnustep>, <mailto:bug-gnustep-request@gnu.org?subject=unsubscribe>
List-Archive <http://lists.gnu.org/archive/html/bug-gnustep>
List-Post <mailto:bug-gnustep@gnu.org>
List-Help <mailto:bug-gnustep-request@gnu.org?subject=help>
List-Subscribe <https://lists.gnu.org/mailman/listinfo/bug-gnustep>, <mailto:bug-gnustep-request@gnu.org?subject=subscribe>
Xref csiph.com gnu.gnustep.bug:4055

Show key headers only | View raw


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/

Back to gnu.gnustep.bug | Previous | Next | Find similar


Thread

[patch #8781] [back] Faster bitmap drawing on Cairo Fred Kiefer <INVALID.NOREPLY@gnu.org> - 2015-10-27 22:13 +0000

csiph-web