Skip to content

Category: Computers & Internet

Script timing in PHP

It you have spent time on sites that use a CMS system as a back-end, you may have noticed a line towards the bottom that tells you how long that page took to generate. While not always useful for the end user, it is very useful to you as a the developer. It gives you a quanitative look at how quickly your pages are being generated, and you can use this to determine if your code or queries need to be modified to work more quickly or if your server is overloaded.