Determine overhead of PHP script.

From: Date: Sun, 02 Jun 2002 02:29:38 +0000
Subject: Determine overhead of PHP script.
Groups: php.general 
Request: Send a blank email to php-general+get-100271@lists.php.net to get a copy of this message
Is there a way to determine the overhead or memory usage of a PHP script as it runs? What I'm looking at is say I've got this nice simple script to display info. Now I want to add a database abstraction layer and a template engine. Sure, this makes it easy for me to control changes, but now I'm including a dozen other files that I may only use a percentage of. So, yeah, it's easy to control, but now it may be taking up 10 times as much memory as it was before. So is there a way to see how much memory/overhead a script is taking up after it does all of its includes? Let me know if I need to explain this more. I'm on a windows machine, but any ideas you have are welcome. I'm sure it's more of an OS-type question, though. ---John Holmes.

« previous php.general (#100271) next »