Yii add performance profiling.

6
715
views

To show profiling result, we need to install a CLogRouter application component with a CProfileLogRoute log route in protected/config/main.php.

Also set enableProfiling true in protected/config/database.php.

The result will be like here.

Reference :