[Phpwm] timing a function

alan dunn alan at dunns.co.uk
Fri Oct 21 12:01:23 UTC 2011


I want to measure the execution time for a function - it is to determine 
a price given quantity discounts, promotion prices etc.

Can anyone give me tips on how to do that?

More generally I have the options of running a php function - or 
creating a database function in plpgsql to do the same thing. Someone 
might have a view about their relative speeds?

thanks, alan dunn
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.lug.org.uk/pipermail/phpwm/attachments/20111021/8671820a/attachment.htm>


More information about the Phpwm mailing list