NuSphere Forums Forum Index
NuSphere Forums
Reply to topic
Can i count time, spended on PHP functions?


Joined: 25 Nov 2004
Posts: 4
Location: Russia, Moscow
Reply with quote
Can i get into profiler chart lines describes internal PHP functions? file(), sleep(), etc...
View user's profileFind all posts by NeoromanticSend private messageICQ Number
Site Admin

Joined: 13 Jul 2003
Posts: 8342
Reply with quote
while you need to see the timing for a particular function call you can get it easily.
For example with script below
Code:
<?php
  sleep(1);
  phpinfo();
?>

you will get something like this:

As you can see sleep(1) took 999.7ms.

If you need average results of calling all similar funtions, it's not available yet.
View user's profileFind all posts by dmitriSend private messageVisit poster's website
Can i count time, spended on PHP functions?
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
All times are GMT - 5 Hours  
Page 1 of 1  

  
  
 Reply to topic