PHP Profiling

Posted on 2003-12-02
Last Modified: 2006-11-17

I need a good free program to profile PHP Scripts.

I need it to be a script that analyses(or runs) my code, and tells me how long it takes each part to run.

It can't be one that requires me to add profiling code into my actual Script(most of it is already written), and inserting a load more code would take a _lot_ of time, which kind of rules the PEAR profiler(and similar) out.

I don't have time to be experimenting/testing different ones at the present minute(and this is pretty urgent).

If anyone has any experience in this field............

I had a look at Califa, it seems to be what I want, but it also seems ancient, and I'm not sure if it will work with PHP4/PHP5 since it was written for PHP3, and doesn't seem to have changed since.
Question by:aolXFT
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
  • 2
LVL 13

Expert Comment

ID: 9862020 - click on the profiler there to see if it can do what you want.. i know it's not free, but you can try the evaluation version - not sure if it has the profiling features though. if you could get it for free some how then it looks like it'd do the job nicely

LVL 13

Expert Comment

ID: 9862055
profiler is disabled in the evaluation unfortunately


Author Comment

ID: 9877865
APD(from PEAR) seems interesting. Anyone have any experience using it?

Zend Studio is out of the question since it is not free. No point in evaluating something that I know I'm not going to have.

Author Comment

ID: 9940800
I've decided to go with APD from Pear.

I'm going to wrap it up into a script, so that I can run a command like php_profile script.php, and get the relevent output.

I've requested a closure from Community Service.

Accepted Solution

Lunchy earned 0 total points
ID: 9943381
The user has resolved his own question; points (500) refunded and question closed.

Friendly Neighbourhood Community Support Admin


Featured Post

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Popularity Can Be Measured Sometimes we deal with questions of popularity, and we need a way to collect opinions from our clients.  This article shows a simple teaching example of how we might elect a favorite color by letting our clients vote for …
Deprecated and Headed for the Dustbin By now, you have probably heard that some PHP features, while convenient, can also cause PHP security problems.  This article discusses one of those, called register_globals.  It is a thing you do not want.  …
The viewer will learn how to count occurrences of each item in an array.
This tutorial will teach you the core code needed to finalize the addition of a watermark to your image. The viewer will use a small PHP class to learn and create a watermark.

734 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question