39 ms·
If anyone is interested why this is even a thing, you can see here [0] how every change in the IDE repaints whole window, thus eats CPU like mad. On the MacOS w
by aPoCoMiLogin 5y ago
If anyone is interested why this is even a thing, you can see here [0] how every change in the IDE repaints whole window, thus eats CPU like mad. On the MacOS with external 4k+ monitor, this really tanks even macpro, like there is no GPU acceleration at all and everything is rendered by the CPU.
[0] - https://photos.app.goo.gl/fsxgEHXCsTzKL37w7 https://photos.app.goo.gl/fsxgEHXCsTzKL37w7
- cutler 5y agoHonestly, Jetbrains tout their flagship product - IntelliJ - as this top-of-the-range Java/Kotlin IDE yet they can't ship a stable product to save their lives. From constant indexing to foobared filesystem access lockups no other ide/editor I've ever used requires as much fixing, patching and monitoring for excessive resource usage.
- oneepic 5y agoHow does excessive resource usage mean their product is unstable? It's a pity if the performance is bad, but I would think stable means there are little to no major breaking bugs that get in the way, and if they do an IDE restart usually fixes things.
- bob778 5y agoThey literally broke all plug-ins for months because of a regression in stripping white space from config files. The whole product is incredibly poorly tested and is only dominant because it’s the least terrible.
- flatiron 5y agoI buy a product to do a task. I have a Java making machine called a computer. I don’t care how much of the product it uses. As long as it performs the task. Anyone has used it knows there is simply no substitute. And I don’t care about every 4 years expensing a new laptop. Nobody has ever even acknowledged it.
- geodel 5y agoI would not be surprised if you don't care if product you bought do task properly or effectively.
- blackoil 5y agoIt does the task properly and effectively just not most efficient. Unfortunately no other IDE comes close to it features/polish so we have to live with it inefficiencies.
- pkolaczk 5y agoThey decided to code their own analyzers for some languages like Scala and Rust instead of relying on the support provided by the compiler frontend through the language server protocol. Result: Intellij idea has endless "good code red" problems, it doesn't detect all compile problems, it still can't expand macros properly and autocomplete does not work at all with more advanced libraries. While generally it kinda works most of the time with simple code now, it is still far from the polish that VS Code and editors based on official language servers offer in this area.
- dmitriid 5y ago> code their own analyzers for some languages like Scala and Rust instead of relying on the support provided by the compiler frontend through the language server protocol Because IDEA doesn't support LSP. Because IDEAs analyzers are not external entities running in an external process and communicating in JSON over HTTP.
- chakkepolja 5y agoIts a drawback, yes. But not a deal breaker for most people. Most professional users have good RAM and SSD, and start IntelliJ maybe once a day. It's "Good Enough ™"
- ibic 5y agoOr just once till next restart, Just Close the Lid ™.
- winrid 5y agoI have 64gb of ram and Webstorm still freezes for 15+ seconds sometimes. It's not GC, it's not memory, not plugins, just random bugs or filesystem access blocking UI updates etc.
- kaba0 5y agoThat’s just the jetbrains releasing an old runtime (11) with an even older GC and relatively low max heap size. Just simply bumping the heap size up helps, but changing it to G1GC with a lower target pause time and adequate heap size will make it so much smoother. But if you can then change to a newer runtime and use ZGC which has basically no pause whatsoever.
- winrid 5y agoIt's not GC. It's nowhere near using the max memory available to the JVM.
- invalidname 5y agoI wrote plugins for most IDEs including JetBrains. If you hold the EDT they block your plugin. There's no way a core plugin allows that. I'm guessing this is some other bug, did you file an issue with your logs? Did you ask in their developer slack group? They are VERY responsive.
- winrid 5y agoI'll try the slack group, thanks! I read through the logs and they didn't show anything very helpful. Every time I ran profiling tools on it, it never occurred so I haven't created a ticket yet ... :)
- staticassertion 5y agoThe IDE is more than two decades old. Cut them some slack?
- ta988 5y agoThey have done a ton of work and it is so much faster with almost every release. Yes indexing is slow, but it goes through a ton of things and it does it really quickly for what it does.
- 5e92cb50239222b 5y agoTry running an older version side by side if you think it's been getting faster. For example, any 2018.* is so much quicker compared to any recent version it feels like a completely different product. It also doesn't lose and rebuild indexes two times a day, and has fewer annoying bugs that "will be fixed in the next release" for the past two years. Unfortunately, I do need support for the latest Java version, or I'd move right back.
- mitemte 5y agoI thought I was going crazy. The reindex frequency is so much higher than it used to be. AppCode is worse than IntelliJ in this regard and building Swift indexes for Cocoapods is unimaginably slow.
- invalidname 5y agoI've seen this happen to people and I'm guessing they're running into bugs. I have multiple open projects at once and it works amazingly well with rather huge projects. It's smarter than any IDE I used. The one problem is that the UI is a bit out of date because of Swing. Fleet is solving that problem.
- fivea 5y ago> Honestly, Jetbrains tout their flagship product - IntelliJ - as this top-of-the-range Java/Kotlin IDE yet they can't ship a stable product to save their lives. I use IntelliJ and Clion daily and I have never noticed any sort of instability. I used to experience long indexing times until I learned that I chronically misconfigured projects and included build and autogenerated dirs in the index, which is trivially solved by excluding them and invalidating the cache. We're talking about something you do once right after you import the project. The only foobared filesystem issue I ever stumbled upon was when I toyed with junctions pointing to a RAM drive on Windows, and Clion left the junctions out of the project view. And that was it. Could you please elaborate and point out real world examples that showcase any instability you implied?
- GordonS 5y agoSimilar story for me, except it's Rider I use daily - it's been absolutely rock solid for me (way more than Visual Studio, that's for sure), for all the years I've used it. I've been seriously impressed with the JetBrains team for always releasing such solidity, despite it being such a complex product. There can be some errors if I try an EAP version, but that's expected of course.
- mnahkies 5y agoI remember when rider first came out, it was such a breath of fresh air performance wise compared to visual studio. Haven't done any c# in a while now so unsure if that's still the case but make heavy use of all the other tools and happily pay my yearly subscription. There's occasional glitches, recently datagrip (the database ide) has sometimes got itself into odd states where it's loading the data sources infinitely, but overall I find them stable and performant products
- thejosh 5y agoSame. I had issues back in the day with HDD speeds, but since going to SSDs over 6?+ years ago and now NVME it flies. I use IntelliJ, Clion, Datagrip and sometimes Rubymine if I need to touch Ruby code and it's pretty good.
- symlinkk 5y agoIt’s hilarious how the same people that talk shit about VSCode being too slow use IntelliJ instead
- flatiron 5y agoFor Java there really is no replacement for IntelliJ. I don’t think people “talk shit”. I use vscode and I enjoy it. I don’t use it for Java.
- symlinkk 5y agoVSCode supports Java, and can do 99% of what IntelliJ does in a simpler, faster interface. https://code.visualstudio.com/docs/java/java-tutorial https://code.visualstudio.com/docs/java/java-tutorial
- flatiron 5y agoDo you do Java for a living? I do and nobody in the industry uses vscode for Java. IntelliJ has a unique position like eclipse did 10 years ago that every senior person uses it and loves it. Vscode for Java I’m sure is fine. Never used it. So not saying it’s not good or not suitable for tasks.
- symlinkk 5y ago“Everyone in the industry uses it” is always the argument for some legacy tool before it’s replaced by something better. Case in point, Eclipse like you mentioned yourself.
- ptx 5y agoCould this be because of the double-buffering[1] that Swing is doing? I can't find any setting to turn it off, but you can do it in code[2] with a method on RepaintManager. [1] https://docs.oracle.com/javase/8/docs/technotes/guides/swing/enhancements-6.html#DoubleBuffering https://docs.oracle.com/javase/8/docs/technotes/guides/swing... [2] https://docs.oracle.com/javase/8/docs/api/javax/swing/RepaintManager.html#setDoubleBufferingEnabled-boolean- https://docs.oracle.com/javase/8/docs/api/javax/swing/Repain...