I accidently stumpled upon the gears demo in jogl, and wondered why we hadn’t done one for LWJGL. Though very simple it is used as some sort of simple benchmark.
I added some FPS output to the original jogl gears demo.
I then took that code and changed the initialization to fit with LWJGL’s Display, did a search/replace for gl. to GL11. and changed some code to use FloatBuffers (we don’t support arrays).
Lastly I took the original gears and compiled with Visual Studio 2005.
This is the result:
[quote]native = ~4200 fps = 100%
lwjgl = ~3200 fps = 76%
jogl = ~ 900 fps = 21%
[/quote]
I was a bit surprised about the jogl performance (or lack thereof). I used the latest (1.1b05 - August 4) build.
I am running Windows XP SP2, Ati Radeon 9700.
I was expecting to find that the order of performance would be like above, but I was a bit shocked to find jogl that far behind - and I can only attribute it to somekind of bug in the jogl implementation I got…