![]() ![]() Many apps, notably Electron apps like Slack, don't ship universal binaries and require downloading a new copy manually to switch architectures. Use the "Kind" column in Activity Monitor to search for Intel apps and upgrade or replace them. These applications will run fine but are less fast than native Apple Silicon apps. If you use Migration Assistant to migrate to a new Mac, it will copy applications over, including those written for older Intel processors. Applications on Apple Silicon are not as fast as expected We've found that colima, ddev, and mutagen generally offer native-like performance beyond the initial code sync. For a deep dive into why Docker is slow on macOS, see Paolo Mainardi's excellent article Docker on MacOS is slow and how to fix it. We recommend all macOS users globally enable mutagen for good performance. Lullabot has standardized on ddev for local environments. Developers may need to find they have to exclude directories from scanning or disable third-party AV entirely. Our projects comprise tens of thousands of small files, the worst case for security scanners. Sophos, Bitdefender, and Windows Defender on Windows cause a computer to be horrifically slow, especially for developers. Security scanners can often cause performance issues At the least, if you determine this is the issue, you know buying a new computer won't fix it. If the problem is caused by other devices using your home internet connection, check if your router supports Active Queue Management. Also, remember that your internet connection is shared with every other device in your home. Rule out Wifi as a problem by connecting your computer directly to your router with a cable. When buying a new computer, remember that larger disks will be faster than smaller ones. Flash disks (SSD drives, which most computers have nowadays) need free space to operate effectively, and a disk that is 90% or more full will be significantly slower. Try to keep at least 10-20% of your disk free. Like the above, you need to quit programs you aren't currently using. If you see something oddly using a lot of memory, it may indicate a bug in that program. You either need to quit programs or upgrade your computer. But, you may find that closing a browser tab with lots of visuals (like ads) reduces other processes significantly. Many macOS system programs like WindowServer (used to draw the screen) and kernel_task (used to talk to hardware) can't be quit. If you see high CPU use from a program you don't recognize, ask about it. If possible, quit the programs using the CPU you don't actively need. When you open Activity Monitor for the first time, you will see a window like this:įixing problems My CPU is constantly at 100% The easiest way to open it is to open Spotlight ( command-space) and search for it. This mostly matters for designers and those who use graphics applications like Figma, which are 3D-accelerated.Īctivity Monitor is useful for seeing what your computer is doing. For example, when updating ddev to a new version, the slowest part is almost always downloading it from the internet. If something is slow, but the three items above are all good, this is often the issue. Network: The combination of Wifi and internet.And it's persistent across restarts. For example, when restarting, macOS has to load everything from the disk because memory is cleared on a restart. Disk: Much slower than memory, but also much bigger. ![]() Your browser will keep the page in memory even after navigating away, so it's quick to come back if you hit the Back button. For example, this article is literally in memory as you view it. Memory: Where information being used by programs is stored.If it's at 100%, programs must wait their turn to do something. Identify what types of resources are in contention.Identify what programs are using the most resources.When a computer is slow, the best way to solve it is to: On Windows, use Task Manager instead of Activity Monitor, and on Linux, use htop or bpytop. We'll cover mostly macOS, but the general framework is the same for any operating system. This article covers the same tips we share with our team to help solve workstation performance problems. But it takes specialized knowledge to track down the root cause of performance issues. Early in a project, a team member will offhandedly say something like "the site is slow," "my computer is slow," or "Docker is slow." Those all may be true. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |