bug-classpath
[Top][All Lists]
Advanced

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

[Bug awt/26486] Graphics.fillRect extremely slow


From: hendrich at informatik dot uni-hamburg dot de
Subject: [Bug awt/26486] Graphics.fillRect extremely slow
Date: 9 Mar 2006 19:55:27 -0000


------- Comment #20 from hendrich at informatik dot uni-hamburg dot de  
2006-03-09 19:55 -------
Subject: Re:  Graphics.fillRect extremely slow


> Results on GCJ, with flushing completely disabled:
> 
> $ ./FillRect2 
> paintComponent took 13 msec. (4097 fillRect calls)
> paintComponent took 8 msec. (4097 fillRect calls)
> paintComponent took 8 msec. (4097 fillRect calls)
> [...]


Thanks. For comparison, on my Linux/Athlon 2600+ I get about

<java> FillRect2 

 14 msec/4097 fillRect (jamvm+classpath and your limit_gdk_flush_rate patch) 
  4 msec/4097 fillRect (JDK 1.4.2)
  1 msec/4097 fillRect (JDK 1.6.0)

and with <java> FillRect2 -size 200    (more won't fit on my screen...)

195 msec/40001 fillRect (jamvm+classpath+"gdk_flush" patch)
 41 msec/40001 fillRect (JDK 1.4.2)
 13 msec/40001 fillRect (JDK 1.6.0)



-- 


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





reply via email to

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