[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Bug awt/26486] New: Graphics.fillRect extremely slow
From: |
hendrich at informatik dot uni-hamburg dot de |
Subject: |
[Bug awt/26486] New: Graphics.fillRect extremely slow |
Date: |
27 Feb 2006 20:50:06 -0000 |
Compile and run the attached testcase. Use the "-sleep <millisecs>" parameter
to specify the sleep delay between repaints, e.g.
java FillRect -sleep 50 (20 frames/second nominally)
java FillRect -sleep 10 (100 frames/second)
java FillRect -sleep 1 (1000 frames/second)
java FillRect -sleep 0 (no repaints at all)
On my system (Athlon 2600+, Suse 8.2), the animation runs at about
50 frames/second max. on the reference implementation, but runs at a measly
3..5 frames/second on jamvm+classpath cvs 2006.02.24 or gcj 4.2.0.
Note that the animation only uses Graphics.setColor() and Graphics.fillRect()
with 3x3 pixel rectangles. For a more fancy animation, see my "GameOf Life"
testcase submitted to http://gcc.gnu.org/ml/java/2006-02/msg00194.html.
(Consider that testcase as GPLed, too.)
- Norman
--
Summary: Graphics.fillRect extremely slow
Product: classpath
Version: 0.21
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: awt
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: hendrich at informatik dot uni-hamburg dot de
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=26486
- [Bug awt/26486] New: Graphics.fillRect extremely slow,
hendrich at informatik dot uni-hamburg dot de <=
- [Bug awt/26486] Graphics.fillRect extremely slow, hendrich at informatik dot uni-hamburg dot de, 2006/03/01
- [Bug awt/26486] Graphics.fillRect extremely slow, hendrich at informatik dot uni-hamburg dot de, 2006/03/01
- [Bug awt/26486] Graphics.fillRect extremely slow, hendrich at informatik dot uni-hamburg dot de, 2006/03/02
- [Bug awt/26486] Graphics.fillRect extremely slow, fitzsim at redhat dot com, 2006/03/03
- [Bug awt/26486] Graphics.fillRect extremely slow, fitzsim at redhat dot com, 2006/03/04
- [Bug awt/26486] Graphics.fillRect extremely slow, fitzsim at redhat dot com, 2006/03/06
- [Bug awt/26486] Graphics.fillRect extremely slow, hendrich at informatik dot uni-hamburg dot de, 2006/03/06
- [Bug awt/26486] Graphics.fillRect extremely slow, fitzsim at redhat dot com, 2006/03/06
- [Bug awt/26486] Graphics.fillRect extremely slow, hendrich at informatik dot uni-hamburg dot de, 2006/03/06
- [Bug awt/26486] Graphics.fillRect extremely slow, hendrich at informatik dot uni-hamburg dot de, 2006/03/06