From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00 autolearn=ham autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,bf99c532c8230463 X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2001-12-18 07:07:41 PST Path: archiver1.google.com!news1.google.com!newsfeed.stanford.edu!canoe.uoregon.edu!hammer.uoregon.edu!skates!not-for-mail From: Stephen Leake Newsgroups: comp.lang.ada Subject: Re: Ada vs Java performance testing... Date: 18 Dec 2001 10:05:31 -0500 Organization: NASA Goddard Space Flight Center Message-ID: References: <3C1EEE09.D6AB3B23@ida.his.se> NNTP-Posting-Host: anarres.gsfc.nasa.gov Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: skates.gsfc.nasa.gov 1008688134 10238 128.183.220.71 (18 Dec 2001 15:08:54 GMT) X-Complaints-To: dscoggin@cne-odin.gsfc.nasa.gov NNTP-Posting-Date: 18 Dec 2001 15:08:54 GMT User-Agent: Gnus/5.0808 (Gnus v5.8.8) Emacs/20.7 Xref: archiver1.google.com comp.lang.ada:18051 Date: 2001-12-18T15:08:54+00:00 List-Id: Michael Andersson writes: > Hi! > This isn't realy a Ada question but I hope you can help me out any way. > For my final year project I'm going to port my realtime 3d simulator, > written in Ada using the OpenGL API, to Java and Java3D. The reason for > this is that a company here in Sweden is interested in how the > performance as well as design i affected when using Java3D instead of > OpenGL. Could you give me any tips on how to compare to version of the > same application written in different programming languges? Do you know > of any good book on the subject? This should be very interesting. However, it will be very difficult to sort out the two changes; Ada -> Java and OpenGL -> Java3D. If possible, maybe you could do it in two steps? I don't have any specific tips to offer, but in general, you want to define some benchmarks _now_, that you will run with the current system and then with the Java system. You may also want to add some benchmarks later. Make the benchmarks meaningful. One typically quoted for graphics stuff is polygons per second, but that will reflect the hardware more than the software. So pick something top level, like "run this simulation script start to finish". And be sure you use the _same_ hardware for the two systems! And let us know how it goes! -- -- Stephe