PHPStorm performance issues on OSX
Are you using a fancy Mac with the latest and greatest hardware, yet still having performance issues with PHPStorm? I've been struggling with this the past few months.
It turns out, the solution might be rather unexpected. Instead of disabling plugins, inspections and what not; it seems like there's an issue with font rendering in the JRE for Mac.
This means that on certain resolutions, for certain fonts and for certain kinds of antialiasing, PHPStorm will need a lot of CPU power just to render fonts. So how to fix it? There are a few options.
- Use another font. I was using Ubuntu Mono, and it turns out it requires quite a lot of CPU. I've switched to Monaco instead.
Subpixelantialiasing. Go to
Preferences > Appearance & Behavior > Appearanceto configure antialiasing in your editor to
Greyscaleinstead. Your fonts won't look as good, but you'll notice a huge performance improvement.
- Wait for JetBrains to find a fix. 2018.2 might fix some things, but the real solution will take a while. There's an active discussion on the topic here.
If you're looking for even more performance improvements that can be made in PHPStorm, take a look over here.
This is where the ad would go. I get it, they are stupid. But to be honest, they actually make a difference. So maybe you'd consider whitelisting this blog?