bug-classpath
[Top][All Lists]
Advanced

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

[Bug awt/27926] Graphics2D drawing primitives performance (and demo)


From: fkung at redhat dot com
Subject: [Bug awt/27926] Graphics2D drawing primitives performance (and demo)
Date: 11 Apr 2007 17:55:42 -0000


------- Comment #4 from fkung at redhat dot com  2007-04-11 18:55 -------
More recent data (all my stuff, including jamvm, cacao, gcj, and classpath, are
compiled with -O0 though):

         #objects   Cacao   Jamvm   JDK 1.5   gcj
fillRect (9024)      430      650        30   230
drawRect (9024)      480      685        25   280
fillOval (2240)      675      830         4   580
drawOval (2240)     1160     1310         5   1200
drawLine (9024)     1660     1850        30   1700
drawArc  (2240)     1080     1300         3   1200

To be fair, I should recompile all my stuff with -O2 or -O3; I'm sure the
performance will be significantly better (though still nowhere near Sun)

With regards to antialiasing, I've found turning it off in classpath results in
minimal performance benefits (10-20%), while turning it on with the reference
implementation results in a huge performance hit (almost doubles benchmarks). 
Visually, classpath-without-antialiasing is comparable to Sun-with-antialiasing
though.


-- 

fkung at redhat dot com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |fkung at redhat dot com


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=27926





reply via email to

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