I am profiling too!

Earlier this year (march 2007) I went to the PHP Quebec Conference in Montreal where I met Rasmus Lerdorf. He gave a very interesting presentation where he talked about various things, including something called calgrin, xdebug and cachegrind. It seemed very interesting but I did not have the opportunity to try it. Until recently that is, now that my project is in beta in terms of features and that we need to tune it to increase performance. I saw this post and it reminded me of these tools.

I was able to find areas to focus for performance tuning. One area was some function that was rewriting a url before displaying it and another area was the rending of a small template that was repeating 20 times and taking a long time.

I recommend these tools for anyone that wants to make their PHP project faster and need to know where to start.

What are you using to tune-up your PHP application?

Post new comment

The content of this field is kept private and will not be shown publicly.
  • Allowed HTML tags: <a> <em> <strong> <cite> <code> <ul> <ol> <li> <dl> <dt> <dd> <blockquote>
  • You may post PHP code. You should include <?php ?> tags.
  • Lines and paragraphs break automatically.
  • You can enable syntax highlighting of source code with the following tags: <code>, <blockcode>. Beside the tag style "<foo>" it is also possible to use "[foo]". PHP source code can also be enclosed in <?php ... ?> or <% ... %>.
  • Web page addresses and e-mail addresses turn into links automatically.

More information about formatting options