This is the mail archive of the java@gcc.gnu.org mailing list for the Java project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Another toy benchmark...


Thomas Fitzsimmons writes:

> Can you file a bug for this with a test case?
> Actually, can you also attach GameOfLife.java if it is redistributable?
> The test case would probably be more useful if it
> eliminated the calculations so as to isolate the demonstration of the
> AWT performance problem.

Well, I thought that watching the GameOfLife animation was fun (the extra 
random term avoids the fast convergence of the original game in many start
positions), but if you insist on more boring stuff... ;-)

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

Anyway, consider "GameOfLife.java" as GPLed. I attached a new testcase 
"FillRect.java" that calculates almost nothing (and uses only 64x64
instead of 128x64 rectangles. Twice as "fast" at 6 frames/second.)

- Norman



Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]