measure openGL app performance

Hi all,
please do you know a tool/method? that would help me to measure/compare openGL (or any other 3d graphic application) processing time?
For example I want to check the difference ‘in performance’ of using ‘vertex arrays’ vs. ‘buffer objects’?

many thanks in advance…

i know a tiny benchmark for vertices. click
other then that gDEBugger seems to show cpu/gpu workload.
maybe write own little benchmark program?

If you mount up enough batches you can just use your systems timing functions (e.g. gettimeofday), though you’ll probably want to do a glFinish to ensure that you don’t miss timing some batches that are still in the pipe. I’d mount up a hundred ms or so of work to time so you can get good timing results.

A way around that glFinish is to use EXT_timer_query (glBeginQuery/glEndQuery/etc.) to pass timing events alongside your events in the GPU pipe. Haven’t used it myself.