Optimization (simple)

Using basic CakePHP functions you can quickly identify where slow downs exist in your app

# 1 > START

At the start of your code place the following script

Configure::write('speedCheck', microtime(true));

# 2 > Place marker

Now at each main point in your code add the following code, which will allow you to see the amount of time that has passed since the last marker you placed. 

$msg = "After maybe slow point to check"; $currSpeed=Configure::read('speedCheck'); pr ($msg.': '.number_format(microtime(true) - $currSpeed, 1));

Other Instructions

Below are many other instructions that show you how to use your UpdateCase application