Severe Perforce Integration Performance Issue
We have been experiencing a severe performance problem with the Perforce integration in Idea for the last couple of years. Recently, we’re all working remotely which has made the problem exponentially worse.
First, I’ve seen article https://intellij-support.jetbrains.com/hc/en-us/community/posts/360000500850-Perforce-tasks-never-complete. While we do have node_modules, it has been excluded. Still having the issue.
Performing check outs, reverts, as well as just Idea being aware of changes within Perforce takes minutes. Sometimes literally over 20 minutes for a single file. My remote network connection is not super fast, but if I use the native Perforce client to perform operations, things happen nearly instantaneously. But then, I may have to wait for 20 minutes for Idea to reflect those same changes (even if I immediately hit Force Refresh).
I did just timed one checkout from Idea. It took 8:30 to show up as checked out in Perforce. Then it took more than 5 minutes more to show up as checked out in Idea's Perforce panel.
I have excluded almost every 'built' file from our project via Project Structure -> Sources and I’ve even added a perforce ‘ignore’ file. Idea only shows a handful of Unversioned Files, Locally Deleted Files, and Modified without Checkout Files in the Perforce version control tab.
When I look at Idea’s p4.output log file, it shows over 300 files that are marked as ignored in StdErr saying “no such file(s).” I can send the log file, but I wouldn’t want that in a public forum.
Note: I’ve been going back and forth between several version of Idea (2019.2.4 - 2020.1.2) and it happens in all of them.
Please sign in to leave a comment.
The issue is likely caused by calling `p4 files` against excluded folders, this is the request that returns "no such file(s)"- https://youtrack.jetbrains.com/issue/IDEA-232125
Ah. I didn't search the issues, only the forum. That looks like exactly what I'm seeing. Thanks.