On Thu, Jul 28, 2005 at 05:34:08PM +0200, Holger Dell wrote: > >or is there a way to not only test "functionality" with tests but > >also "speed"? i guess this would be nice to find bottlenecks. > has anyone ever tried to use grpof or any other profiling tool to > analyze, which code eats most cpu time (=bottlenecks).
i would consider gprof a tool to optimize an application - but its a little hard to profile an API with it. different apps will produces different results and so using gprof with certain apps (mainstream) results in _exaclty_ what you dont want (what transgaming does?). thinking about it - also using the benchmarks as a mark is the same (isnt that what all the driver developers do?). but having winetests, that also do certain things (lets say application "patterns") and then time them is IMHO a Good Thing - it can be coded into the winetest framework, which already runs the tests on real windows and on wine - then also time it and compare it. especially in the directx area this would be good to compare to windows (even if its sometimes simply not fair - if e.g. sound mixing is done in hardware under windows and in the cpu on wine). -- cu
pgpX7HR1JAXbb.pgp
Description: PGP signature