How to run fast command line
I was waiting so long, if can you show me why?
Magento Stack Exchange is a question and answer site for users of the Magento e-Commerce platform. It only takes a minute to sign up.Sign up to join this community
Well, unfortunately apart from improving your hardware there is no way you can make that command faster.
This command is the Magento code compilation.
Code compilation consists of all of the following in no particular order:
- Application code generation (factories, proxies, and so on)
- Area configuration aggregation (that is, optimized dependency injection configurations per area)
- Interceptor generation (that is, optimized code generation of interceptors)
- Interception cache generation
- Repositories code generation (that is, generated code for APIs)
- Service data attributes generation (that is, generated extension classes for data objects)
Because of all those actions the compiler needs to take, it has to take time.