Local Community

5.8.1 Update runs very slow and laggy on macOS High Sierra

Issue Summary

I just updated to 5.8.1, my machine is macbook pro running High Sierra. You fixed the bug which didn’t allow users to make a new sites without making a second on High Sierra, this is great, thank you.

However I am now having performance issues. The navigation on the local sites menu is very slow and laggy.

I had no performance issues on previous versions. Can this be resolved?

Thanks,
Owen

Hey @owenwestlake – Thanks for the feedback, and I’m glad we were able to fix the bug you were previously experiencing!

Can you also describe a little more about your setup? For example:

  • How many sites do you usually have installed and started?
  • Is the performance slow all the time, or only during certain events like using Connect, or on Local startup?
  • Can you please provide your Local Log? See this Community Forum post for instructions on how to do so:

If you are able to send a screencast, that would be super helpful for us to see what’s going on within the UI. Thanks!

Hi thanks for responding so quickly, I believe there is another thread open about this topic now which covers my problem exactly, here’s the link:

https://localwp.com/community/t/newest-version-of-local-running-very-slowly-on-mac-catalina/22406/5

I hope you can resolve this issue soon, many thanks!

Issue Summary

The app is lagging perhaps 10-20 seconds when performing just about any action. Here’s a video showing the behavior:

Neither of the sites that are running are particularly heavy sites, and in fact one of those two is just a clean install.

1 Like

Here’s the Local log from starting local, then starting a single site, if that’s helpful:

{"thread":"main","class":"AddonLoaderService","level":"info","message":"Loading Add-on: %%userDataPath%%/addons/local-addon-xdebug-vscode/lib/main.js","timestamp":"2020-10-07T20:21:04.697Z"}
{"thread":"main","class":"AddonLoaderService","level":"info","message":"Successfully Loaded Add-on: %%userDataPath%%/addons/local-addon-xdebug-vscode/lib/main.js","timestamp":"2020-10-07T20:21:04.720Z"}
{"thread":"main","class":"AddonLoaderService","level":"info","message":"Loading Add-on: %%userDataPath%%/lightning-services/mysql-5.7.28+4/lib/main.js","timestamp":"2020-10-07T20:21:04.721Z"}
{"thread":"main","class":"AddonLoaderService","level":"info","message":"Successfully Loaded Add-on: %%userDataPath%%/lightning-services/mysql-5.7.28+4/lib/main.js","timestamp":"2020-10-07T20:21:04.740Z"}
{"thread":"main","class":"AddonLoaderService","level":"info","message":"Loading Add-on: %%userDataPath%%/lightning-services/php-5.6.39+3/lib/main.js","timestamp":"2020-10-07T20:21:04.741Z"}
{"thread":"main","class":"AddonLoaderService","level":"info","message":"Successfully Loaded Add-on: %%userDataPath%%/lightning-services/php-5.6.39+3/lib/main.js","timestamp":"2020-10-07T20:21:04.762Z"}
{"thread":"main","class":"AddonLoaderService","level":"info","message":"Loading Add-on: %%userDataPath%%/lightning-services/php-7.4.1+13/lib/main.js","timestamp":"2020-10-07T20:21:04.762Z"}
{"thread":"main","class":"AddonLoaderService","level":"info","message":"Successfully Loaded Add-on: %%userDataPath%%/lightning-services/php-7.4.1+13/lib/main.js","timestamp":"2020-10-07T20:21:04.785Z"}
{"thread":"main","class":"AddonLoaderService","level":"info","message":"Loading Add-on: %%resourcesPath%%/lightning-services/mailhog-1.0.0+3/lib/main.js","timestamp":"2020-10-07T20:21:04.786Z"}
{"thread":"main","class":"AddonLoaderService","level":"info","message":"Successfully Loaded Add-on: %%resourcesPath%%/lightning-services/mailhog-1.0.0+3/lib/main.js","timestamp":"2020-10-07T20:21:04.787Z"}
{"thread":"main","class":"AddonLoaderService","level":"info","message":"Loading Add-on: %%resourcesPath%%/lightning-services/mariadb-10.4.10+4/lib/main.js","timestamp":"2020-10-07T20:21:04.788Z"}
{"thread":"main","class":"AddonLoaderService","level":"info","message":"Successfully Loaded Add-on: %%resourcesPath%%/lightning-services/mariadb-10.4.10+4/lib/main.js","timestamp":"2020-10-07T20:21:04.808Z"}
{"thread":"main","class":"AddonLoaderService","level":"info","message":"Loading Add-on: %%resourcesPath%%/lightning-services/mysql-8.0.16+5/lib/main.js","timestamp":"2020-10-07T20:21:04.809Z"}
{"thread":"main","class":"AddonLoaderService","level":"info","message":"Successfully Loaded Add-on: %%resourcesPath%%/lightning-services/mysql-8.0.16+5/lib/main.js","timestamp":"2020-10-07T20:21:04.829Z"}
{"thread":"main","class":"AddonLoaderService","level":"info","message":"Loading Add-on: %%resourcesPath%%/lightning-services/nginx-1.16.0+3/lib/main.js","timestamp":"2020-10-07T20:21:04.830Z"}
{"thread":"main","class":"AddonLoaderService","level":"info","message":"Successfully Loaded Add-on: %%resourcesPath%%/lightning-services/nginx-1.16.0+3/lib/main.js","timestamp":"2020-10-07T20:21:04.849Z"}
{"thread":"main","class":"AddonLoaderService","level":"info","message":"Loading Add-on: %%resourcesPath%%/lightning-services/php-7.3.5+10/lib/main.js","timestamp":"2020-10-07T20:21:04.849Z"}
{"thread":"main","class":"AddonLoaderService","level":"info","message":"Successfully Loaded Add-on: %%resourcesPath%%/lightning-services/php-7.3.5+10/lib/main.js","timestamp":"2020-10-07T20:21:04.870Z"}
{"thread":"main","class":"AddonLoaderService","level":"info","message":"Loading Add-on: %%appPath%%/node_modules/@getflywheel/local-addon-broken-link-checker/lib/main.js","timestamp":"2020-10-07T20:21:04.872Z"}
{"thread":"main","class":"AddonLoaderService","level":"info","message":"Successfully Loaded Add-on: %%appPath%%/node_modules/@getflywheel/local-addon-broken-link-checker/lib/main.js","timestamp":"2020-10-07T20:21:04.873Z"}
{"thread":"main","class":"AddonLoaderService","message":"Add-on does not have \"productName\" specified in package.json: %%appPath%%/node_modules/@getflywheel/local-browsersync/package.json","level":"info","timestamp":"2020-10-07T20:21:04.873Z"}
{"thread":"main","class":"AddonLoaderService","message":"Add-on does not have \"productName\" specified in package.json: %%appPath%%/node_modules/@getflywheel/local-browsersync-client/package.json","level":"info","timestamp":"2020-10-07T20:21:04.874Z"}
{"thread":"main","class":"AddonLoaderService","message":"Add-on does not have \"productName\" specified in package.json: %%appPath%%/node_modules/@getflywheel/local-components/package.json","level":"info","timestamp":"2020-10-07T20:21:04.874Z"}
{"thread":"main","class":"AddonLoaderService","message":"Add-on does not have \"productName\" specified in package.json: %%appPath%%/node_modules/@getflywheel/localcert/package.json","level":"info","timestamp":"2020-10-07T20:21:04.875Z"}
{"thread":"main","class":"AddonLoaderService","message":"Add-on does not have \"productName\" specified in package.json: %%appPath%%/node_modules/@getflywheel/localtunnel/package.json","level":"info","timestamp":"2020-10-07T20:21:04.875Z"}
{"thread":"main","class":"AddonLoaderService","message":"Add-on does not have \"productName\" specified in package.json: %%appPath%%/node_modules/@getflywheel/memoize-one-ts/package.json","level":"info","timestamp":"2020-10-07T20:21:04.876Z"}
{"thread":"main","class":"AddonLoaderService","message":"Add-on does not have \"main\" or \"renderer\" specified in package.json: %%appPath%%/node_modules/@getflywheel/replacestream/package.json","level":"info","timestamp":"2020-10-07T20:21:04.876Z"}
{"thread":"main","name":"DeprecationWarning","code":"DEP0005","level":"info","message":"Warning:Buffer() is deprecated due to security and usability issues. Please use the Buffer.alloc(), Buffer.allocUnsafe(), or Buffer.from() methods instead.","stack":"DeprecationWarning: Buffer() is deprecated due to security and usability issues. Please use the Buffer.alloc(), Buffer.allocUnsafe(), or Buffer.from() methods instead.\n    at showFlaggedDeprecation (buffer.js:174:11)\n    at new Buffer (buffer.js:257:3)\n    at encoder (%%appPath%%/node_modules/superagent/lib/node/index.js:499:12)\n    at RequestBase._auth (%%appPath%%/node_modules/superagent/lib/request-base.js:431:44)\n    at Request.auth (%%appPath%%/node_modules/superagent/lib/node/index.js:502:15)\n    at Analytics.flush (%%appPath%%/node_modules/analytics-node/lib/index.js:152:6)\n    at listOnTimeout (internal/timers.js:531:17)\n    at processTimers (internal/timers.js:475:7)","timestamp":"2020-10-07T20:21:15.061Z"}
{"thread":"main","class":"","message":"Compiling service configs...","level":"info","timestamp":"2020-10-07T20:26:33.074Z"}
{"thread":"main","class":"Process","process":"mysql","level":"warn","message":"2020-10-07T20:26:33.312514Z 0 [System] [MY-010116] [Server] %%resourcesPath%%/lightning-services/mysql-8.0.16+5/bin/darwin/bin/mysqld (mysqld 8.0.16) starting as process 2365","timestamp":"2020-10-07T20:26:33.948Z"}
{"thread":"main","class":"Process","process":"mysql","level":"warn","message":"2020-10-07T20:26:33.316559Z 0 [Warning] [MY-013243] [Server] --character-set-server: The character set UTF8MB3 is deprecated and will be removed in a future release. Please consider using UTF8MB4 instead.","timestamp":"2020-10-07T20:26:33.948Z"}
{"thread":"main","class":"Process","process":"mysql","level":"warn","message":"2020-10-07T20:26:33.318103Z 0 [Warning] [MY-010159] [Server] Setting lower_case_table_names=2 because file system for %%site.runData%%/mysql/data/ is case insensitive","timestamp":"2020-10-07T20:26:33.949Z"}
{"thread":"main","class":"Process","process":"mysql","level":"warn","message":"2020-10-07T20:26:33.919476Z 0 [Warning] [MY-010068] [Server] CA certificate ca.pem is self signed.","timestamp":"2020-10-07T20:26:33.949Z"}
{"thread":"main","class":"Process","process":"mysql","level":"warn","message":"2020-10-07T20:26:33.947730Z 0 [System] [MY-010931] [Server] %%resourcesPath%%/lightning-services/mysql-8.0.16+5/bin/darwin/bin/mysqld: ready for connections. Version: '8.0.16'  socket: '%%site.runData%%/mysql/mysqld.sock'  port: 10214  MySQL Community Server - GPL.","timestamp":"2020-10-07T20:26:33.951Z"}
1 Like

Hey, dropping in to add that I’m seeing a very similar issue on Mac Mojave (10.14.6) - there’s a noticable delay when selecting different sites from the app UI, even when none of them are running. I have around 30 sites but most are relatively light.

Something else that happens that may be related to this performance issue is when starting up the app for the first time, none of my sites show until I switch to another tab (Connect, Add-ons, Support) and back again:

…same here on Mac Mojave 10.14.6. Hope you can help us. Thanks

Same exact problem here on Macbook Pro running High Sierra.

I have about 30 wordpress sites in the Local Sites window.

The UI lags a great deal whether the sites are running or not.

Hopefully you will be able to resolve this soon, thank you!

Hi all,

We’re actively looking into this.

So sorry for the slowdown!

1 Like

and not only in MacBooks… I’ve got the same slowness on Windows 10. Just for your info. :wink:

Hi all,

Local 5.8.2 is now available and should resolve this issue.

Please let us know how it works for you!

2 Likes

Looking totally fixed from me – I was actually having a minor issue with previous versions taking a long time to load the site list on first load, and that appears fixed as well.

It’s early yet (haven’t tried doing much yet), but looking great so far!

Thanks for the good work!

2 Likes

Local 5.8.2 is now as fast and snapy as before. Thank you for the great work!

Please have a look at it again, thanks you: Can't start multiple Sites at once

1 Like

This topic was automatically closed 36 hours after the last reply. New replies are no longer allowed.