On Wed, Jul 23, 2008 at 2:25 AM, Stewart Smith <[EMAIL PROTECTED]> wrote: > On Sat, 2008-07-19 at 18:32 -0700, Brian Aker wrote: >> Hi! >> >> As of the latest push we can easily run gprof with Drizzle. > > I've found gprof to be generally useless these days....
Me too. Threads break it. > > google-perftools includes a cpuprofiler. > > build with -lprofiler and then set CPUPROFILE=/tmp/foo > > then: > > $ pprof --callgrind server/.libs/drizzled /tmp/foo > /tmp/cg > $ kcachegrind /tmp/cg > > much better. > > (it also has text output modes). > > no idea how it goes on non-linux platforms. > but really, on Solaris/OSX you have d-trace... so i think we're > covered :) > -- > Stewart Smith ([EMAIL PROTECTED]) > http://www.flamingspork.com/ > > > _______________________________________________ > Mailing list: https://launchpad.net/~drizzle-discuss > Post to : [email protected] > Unsubscribe : https://launchpad.net/~drizzle-discuss > More help : https://help.launchpad.net/ListHelp > > -- Mark Callaghan [EMAIL PROTECTED] _______________________________________________ Mailing list: https://launchpad.net/~drizzle-discuss Post to : [email protected] Unsubscribe : https://launchpad.net/~drizzle-discuss More help : https://help.launchpad.net/ListHelp

