cancel
Showing results for 
Search instead for 
Did you mean: 

M2 Performance Issues on WAMP / Localhost

M2 Performance Issues on WAMP / Localhost

Hi,

 

Does anyone else has this issue. On wamp environment with PHP 5.6.x or 7.x M2 runs really slow. I have increased the memory limit to 4GB for M2 as well as in ini files. Does different optimization as well like change database connection from localhost to 127.0.0.1, enable cache etc.

 

Still performance is so slow to do development on localhost environment. Tried devbox as well but due to the home edition of W10 could not install and configure it properly.

 

Anyone? Any help is appreciated!

Thanks,
Tarandeep
Magento 2 Certified Solution Specialist (x2). Follow me on Twitter
4 REPLIES

Re: M2 Performance Issues on WAMP / Localhost

Hi @hellotaran,

 

Are you experiencing issues with an out-of-the-box instance of Magento 2 or a customized one?

If my answer was useful, please give "Kudos" to this post.
If my answer helps you to resolve the problem, click on "Accept as Solution".

Re: M2 Performance Issues on WAMP / Localhost

Out of the box. I have Magento 2.1.5 with sample data.
Thanks,
Tarandeep
Magento 2 Certified Solution Specialist (x2). Follow me on Twitter

Re: M2 Performance Issues on WAMP / Localhost

More details on environment

 

PHP Version: 5.6.30

Apache: 2.4.25

Maria DB: 10.1.21

Windows 10 Home edition

Thanks,
Tarandeep
Magento 2 Certified Solution Specialist (x2). Follow me on Twitter

Re: M2 Performance Issues on WAMP / Localhost

Interesting. 

 

Make sure you disable merge,bundle and minify for CSS and JS at Stores > Configuration > Advanced > Developer > CSS/JS Settings. In some cases when in developer/default mode it causes huge TTFBs. 

The other thing that comes to mind - are your using SSD? Magento 2 manages huge number of files it could be slow when running on flash drives.