Troubleshooting Performance issues in Local
Performance issues can be hard to fix! The best thing to do is zero in on where the slowness is occurring.
Here are some suggestions to help set you up for success and ensure things are running as smoothly as possible when working with Local!
Install the Latest Version
We’re always working on improving Local, so the first thing to double-check is if you have the latest version installed by visiting our releases page.
Troubleshooting performance with the Local app
Is only the Local app slow, or does the entire machine slow down?
- If you notice that only Local is slow, try quitting and restarting it.
- If you notice the entire machine is slow, a full system reboot should help.
- Check the currently running applications to see if they are competing with Local for resources.
Are there multiple sites in Local?
- Certain sites that have large databases, or a high number of plugins installed, might cause issues with performance. If there is a site that you’re not actively working on that fits the bill, ensure it is Stopped.
- Are there any sites that are no longer needed and could be removed? Exporting and archiving old sites is easy, and importing a site is as easy as dragging and dropping the zip onto Local!
Troubleshooting individual WordPress sites
Are there errors in the browser console?
- Reviewing these errors should give you clues for what to investigate next, as well as help pinpoint potential conflicts between any of the plugins or themes used on the site. If you’re new to debugging errors in the browser, this article from WordPress’ documentation should give you the tools you need to figure things out!
Is the WordPress dashboard slow?
- Using a plugin like Query Monitor, may help to zero in on any slow queries or slow functionality that is being caused by other plugins installed on the site.
- If you’re new to using a plugin like Query Monitor, check out this related Help Doc: Debugging your WordPress site using Query Monitor.
Does adjusting server settings help?
- Adjusting PHP settings like
max_input_varsmay improve performance. These values can be edited in the
php.ini.hbsfile within the site’s
conf/php/folder. After making any adjustments, be sure to stop the site and re-start it so that Local can compile and use those new settings.
- Disable Xdebug by following the instructions in this community forum post: How can I disable the Xdebug PHP extension? If you’re new to Xdebug, Local enables this development tool by default on all sites. For more information about the features that Xdebug provides, read our help doc: Using Xdebug within Local.