All Projects → roma-glushko → mage-di-analyzer

roma-glushko / mage-di-analyzer

Licence: other
🕵️‍♂️Calculates and reports how Magento modules affect Magento2 DI compilation process and boostrapping process

Programming Languages

PHP
23972 projects - #3 most used programming language

Projects that are alternatives of or similar to mage-di-analyzer

Magento react native
🛒 MageCart: E-commerce app for Magento 2.x written in React Native
Stars: ✭ 154 (+755.56%)
Mutual labels:  magento2
Magento2 Dockergento
Fastest Magento 2 Docker dev environment ever for Mac and Linux
Stars: ✭ 209 (+1061.11%)
Mutual labels:  magento2
Magento2 Cronjobmanager
Cron Job Manager for Magento 2
Stars: ✭ 233 (+1194.44%)
Mutual labels:  magento2
Magento2 Configurator
Magento 2 Configurator
Stars: ✭ 158 (+777.78%)
Mutual labels:  magento2
Magento2 Menu
Provides powerful menu editor to replace category based menus in Magento 2
Stars: ✭ 184 (+922.22%)
Mutual labels:  magento2
Module Blog
Magento 2 Blog Extension
Stars: ✭ 213 (+1083.33%)
Mutual labels:  magento2
Magento Chatbot
Magento Chatbot Integration with Telegram, Messenger, Whatsapp, WeChat, Skype and wit.ai.
Stars: ✭ 149 (+727.78%)
Mutual labels:  magento2
module-blog-m22
Fixes for Blog on Magento 2.2.x
Stars: ✭ 21 (+16.67%)
Mutual labels:  magento2
Warden
Warden is a CLI utility for orchestrating Docker based developer environments
Stars: ✭ 206 (+1044.44%)
Mutual labels:  magento2
Magento2 Code Generator
Code generator for Magento 2
Stars: ✭ 235 (+1205.56%)
Mutual labels:  magento2
Importexportfree
Improve default Magento 2 Import / Export features - cron jobs, CSV , XML , JSON , Excel , mapping of any format, Google Sheet, data and price modification, improved speed and a lot more!
Stars: ✭ 160 (+788.89%)
Mutual labels:  magento2
Mage2vuestorefront
Magento to Vue-storefront datapump - synchronizes Products, Categories and Product-to-category links between your Magento2 API and NoSQL database of vue-storefront
Stars: ✭ 183 (+916.67%)
Mutual labels:  magento2
Magento 2 Smtp
Magento 2 SMTP Extension helps the owner of store simply install SMTP (Simple Mail Transfer Protocol) server which transmits the messages into codes or numbers.
Stars: ✭ 228 (+1166.67%)
Mutual labels:  magento2
Magento 2 Social Login
Magento 2 Social Login extension is designed for quick login to your Magento 2 store without procesing complex register steps
Stars: ✭ 156 (+766.67%)
Mutual labels:  magento2
magento2-guest-to-customer
Guest to Customer for Magento2 - Quickly and easily convert existing guest checkout customers to registered customers.
Stars: ✭ 66 (+266.67%)
Mutual labels:  magento2
Masquerade
Faker-driven, configuration-based, platform-agnostic, locale-compatible data faker tool
Stars: ✭ 152 (+744.44%)
Mutual labels:  magento2
Capistrano Magento2
Magento 2 specific tasks for Capistrano 3
Stars: ✭ 210 (+1066.67%)
Mutual labels:  magento2
umc
Magento 2 Ultimate Module Creator
Stars: ✭ 57 (+216.67%)
Mutual labels:  magento2
Magento-2-aws-cluster-terraform
Magento 2 AWS autoscaling cluster with Terraform and Packer or ImageBuilder. Adobe Commerce Cloud alternative. The best ecommerce infrastructure. Drive more sales online. Transparent billing. Developer-friendly. No hidden bottlenecks.
Stars: ✭ 107 (+494.44%)
Mutual labels:  magento2
Magento React Native
React Native mobile app for Magento 2.x
Stars: ✭ 229 (+1172.22%)
Mutual labels:  magento2

MageDIAnalyzer

MageDIAnalyzer helps to calculate and report how Magento modules affect Magento2 DI compilation process and boostrapping process.

Features:

  • 🚨Calculates how many Kb each modules add to the DI metadata
  • 📈Counts how many arguments, preferences, virtual types modules add to DI metadata files

Installation

The process is the same as for any other composer-based project:

git clone https://github.com/roma-glushko/mage-di-analyzer.git
cd mage-di-analyzer
composer install

Usage

Put your project to the production mode and copy DI metadata files from generated/metadata to the project tmp directory.

Then, MageDIAnalyzer will be able to check the files by running:

./bin/mage-di-analyzer analyze ./tmp/ -a global -f csv

Command Examples

./bin/mage-di-analyzer analyze ./tmp/ -a global -f csv
./bin/mage-di-analyzer analyze ./tmp/ -a adminhtml -f csv
./bin/mage-di-analyzer analyze ./tmp/ -a frontend -f csv
./bin/mage-di-analyzer analyze ./tmp/ -a crontab -f csv
./bin/mage-di-analyzer analyze ./tmp/ -a webapi_rest -f csv
./bin/mage-di-analyzer analyze ./tmp/ -a webapi_soap -f csv

Report Example

Module Name Area Arguments Argument Size Preferences Preference Size Instance Types Instance Type Size
Magento_Framework crontab 1995 714.79kB 335 38.44kB 57 6.25kB
Magento_Catalog crontab 1019 531.2kB 283 38.36kB 23 2.87kB
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].