Snippet Code To Benchmark Your PHP Script

Testing is one of common task for programmer. In every development phase, testing is need to be done before moving to next phase. There are a lot of testing technique. One of them is benchmarking, to test script/code performance. Benchmark test result can be used to optimize the code/script.As in PHP you can get how long your server took to parse and execute your code. Here is the simple snippet code to get the execution time:This simple code will help you discover bottlenecks in … Read more...