Forum Moderators: phranque
Something like:
1. Start timer
<do first operation>
2. Return time elapsed in page
<next operation>
3. Return time elapsed in page
etc.
If you put the timer code in include files it's quite easy to switch into and out of your pages.
Generally speaking, accessing external services e.g. database, ldap, smtp etc will have the biggest performance hit. HTH