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!

- Tarandeep
Problem solved?Please give 'Kudos' and accept 'Answer as Solution'.
4 REPLIES 4

Re: M2 Performance Issues on WAMP / Localhost

Hi @Tarandeep Singh,

 

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

Welcome to the Magento Forums. Remember to introduce yourself and read the Magento Forums Guidelines.

Re: M2 Performance Issues on WAMP / Localhost

Out of the box. I have Magento 2.1.5 with sample data.
- Tarandeep
Problem solved?Please give 'Kudos' and accept 'Answer as Solution'.

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

- Tarandeep
Problem solved?Please give 'Kudos' and accept 'Answer as Solution'.

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.