Skip to content

Zyava/Aoe_Profiler

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

38 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

++++++++++++++++++++++++ Magento Profiler ++++++++++++++++++++++++

http://www.fabrizio-branca.de/magento-profiler.html

Profile cli scripts

To profile shell scripts like Mage_Shell_Compiler change code at the end of the file to:

$_GET['profile'] = true;
require_once   '../app/Mage.php';
Varien_Profiler::start("wrapper");
$shell = new Mage_Shell_Compiler();
$shell->run();
Varien_Profiler::stop("wrapper");
Mage::helper('aoe_profiler')->renderProfilerOutputToFile();

You will find html page with rendered profiler output in var/log/profile.html

Packages

No packages published

Languages

  • PHP 90.4%
  • JavaScript 9.6%