Re: measuring cpu time

From: Date: Wed, 04 Apr 2001 03:39:41 +0000
Subject: Re: measuring cpu time
References: 1 2  Groups: php.general 
Request: Send a blank email to php-general+get-46963@lists.php.net to get a copy of this message
On 3 Apr 2001 19:29:14 -0700, Brian Hardwick <bhardwick@tangible-networks.com> wrote: >Im trying to optimize some php/mysql code. Does anyone know a way to >measure the amount cpu time a php script consumes? Check out the POSIX functions - in particular the posix_times() function, which not only shows CPU time but also breaks it down into user (PHP's code) time and system (time spent by the kernel) time.

« previous php.general (#46963) next »