Re: Benchmark test



2010/1/1 frederico schardong <frede sch gmail com>:
>> Does anyone know about benchmark testing GTK in C and it
>> bindings(PyGTK, PHPGtk, etc..)? I've searched but not found nothing.

I think you need to be more specific. What do you want to measure?

Things like gtkperf will try to measure gtk's performance (though I'm
not sure how useful the numbers are).

You can use sysprof to watch a running program (and the window system)
and see where it's spending its time.

valgrind (with cachegrind) will let you do detailed testing of code
and see where cache spills or misses are happening.

You could just use g_timer_*() and add some elapsed time logging to
your program.

John


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