This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
// STEP 1: Generate Diff: | |
// - git diff <old-hash> <newer-hash> > my.diff | |
// STEP 2: Change the path to the file here: | |
$filePath = "my.diff"; | |
// STEP 3: List extensions you would like to ignore when doing your stat. | |
$ignoredExtensions = ['csv', 'txt', 'jar', '.properties']; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// https://magento.stackexchange.com/questions/310578/how-to-debug-ui-component-only-showing-spinner | |
// https://devdocs.magento.com/guides/v2.4/javascript-dev-guide/javascript/js_logger.html | |
require(['Magento_Ui/js/lib/logger/console-logger', | |
'Magento_Ui/js/lib/logger/levels-pool'], | |
function(logger, levels) { | |
logger.setDisplayLevel(5) // 2 = WARN 5 = ALL, see levels-pool.js | |
} | |
); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
/** | |
* Modify | |
* File : app/code/core/Mage/Core/Block/Template.php | |
* Method: fetchView | |
* At the very begining. | |
* | |
*/ | |
$startTime = microtime(true); |