Tag Archives: profiling

PMP!

It is a glorious day today – Poor Man’s Profiler (previously introduced here) just got its own website. Do visit it at http://poormansprofiler.org/ – and contribute to better tomorrow.

Posted in mysql | Tagged | 4 Comments

on tools and operating systems

Sometimes people ask why do I use MacOSX as my main work platform (isn’t that something to do with beliefs?). My answer is “good foundation with great user interface”. Though that can be treated as “he must like unix kernel … Continue reading

Posted in mysql, wikitech | Tagged , , , | 5 Comments

Poor man’s contention profiling

I wrote already about poor man’s query profiling techniques last summer. Today I’m going to share poor man’s contention profiling tool, for all these poor souls which do not have Solaris with dtrace or pstack, don’t want to run tcmalloc … Continue reading

Posted in mysql | Tagged , , | 4 Comments

dtrace!

At the MySQL developer conference I accidently showed up some of things we’ve been doing with dtrace (I used it in few cases and realized the power it has), and saw some jaws drop. Then I ended up doing small demos … Continue reading

Posted in mysql | Tagged , , , | 3 Comments

Poor man’s query profiling

There is one very easy way to find database queries that might be performance bottlenecks on properly running servers, without using any sophisticated tools or using precision slowlogs, Just overload your server, and spam ‘SHOW FULL PROCESSLIST’. :)

Posted in mysql | Tagged | 3 Comments

On valgrind and tcmalloc

I already wrote about tcmalloc, and how it helped with memory fragmentation. This time had some experience with extended features – memory profiling and leak checker. With tcmalloc it is possible to get an overview as well as detailed reports … Continue reading

Posted in mysql | Tagged , , , , | 2 Comments

mediawiki graphic profile

So I used amazing tool named KCacheGrind to parse XDebug output of MediaWiki. Of course, I immediately started refactoring some places in code. It is a random web hit, I don’t know even what it is, but it looks nasty … Continue reading

Posted in wikitech | Tagged | 1 Comment

profiling web applications

I’ve experimented a bit with wikipedia’s existing profiling framework lately, and extracted some of bits from that. The way we do it now is having our internal profiler written in PHP, and wfProfileIn() / wfProfileOut() function calls around the code. … Continue reading

Posted in mysql, wikitech | Tagged | Comments Off