Demetra 6107 slow with P4Proxy
The latest demetra build causesa serious slowdown in our development due to the Perforce integration. We use Perforce and have a proxy server setup in office that communicates across the country to the actual instance located in Canada. I see a lot of Perforce activity in the p4.log file when I enable Perforce support in our project. Merely switching tabs in the run dialog generates what seems to be an excessive amount of activity. Are there any plans to fix this? I'd like to use the latest Idea but it is a serious show stopper with the slowdown.
Thanks in advance,
Cliff
Please sign in to leave a comment.
Hello Clifton,
CC> The latest demetra build causesa serious slowdown in our development
CC> due to the Perforce integration. We use Perforce and have a proxy
CC> server setup in office that communicates across the country to the
CC> actual instance located in Canada. I see a lot of Perforce activity
CC> in the p4.log file when I enable Perforce support in our project.
CC> Merely switching tabs in the run dialog generates what seems to be
CC> an excessive amount of activity. Are there any plans to fix this?
CC> I'd like to use the latest Idea but it is a serious show stopper
CC> with the slowdown.
Which build did you use previously? Is it a new problem for you in 6.0.2
compared to 6.0.1, or did you use version 5 previously?
--
Dmitry Jemerov
Software Developer
JetBrains, Inc.
http://www.jetbrains.com/
"Develop with Pleasure!"
We're looking to upgrade from 4.5.4 but I have demo'ed the Perforce integration in ealier EAP builds between 4.5.4 and current 6107 (I belive demetra 5261 was one of the builds) and the problem didn't appear to be there as I recall. I really wanted to make the case for us to upgrade but the Perforce slowdown will definitely kill any case. I was searching the site and it appears that others have had the same issue starting with version 6.0. There were mentions of excessive fstat calls going out. That appears to be the case with me as well.
Hello Clifton,
CC> We're looking to upgrade from 4.5.4 but I have demo'ed the Perforce
CC> integration in ealier EAP builds between 4.5.4 and current 6107 (I
CC> belive demetra 5261 was one of the builds) and the problem didn't
CC> appear to be there as I recall. I really wanted to make the case for
CC> us to upgrade but the Perforce slowdown will definitely kill any
CC> case. I was searching the site and it appears that others have had
CC> the same issue starting with version 6.0. There were mentions of
CC> excessive fstat calls going out. That appears to be the case with me
CC> as well.
If you open the Changes view in 6.0.2, how many files are displayed under
the default changelist and the "Unversioned files" node?
--
Dmitry Jemerov
Software Developer
JetBrains, Inc.
http://www.jetbrains.com/
"Develop with Pleasure!"
about 57 unversioned files depending on which modules I import/remove from my project. Does that have a significant bearing?
Hello Clifton,
CC> about 57 unversioned files depending on which modules I
CC> import/remove from my project. Does that have a significant bearing?
Having thousands of unversioned files can hurt performance, but 57 files
are definitely OK.
How large is your repository, and how many files opened for editing do you
usually have?
--
Dmitry Jemerov
Software Developer
JetBrains, Inc.
http://www.jetbrains.com/
"Develop with Pleasure!"
Typically I can have anywhere from 4 or 5 to 25 opened for editing at any one time. The problem I'm seeing is excessive chattiness between the P4 plugin and the P4 proxy instance. Every action I take in Idea seems to cause a delay only when Perforce is enabled.each key stroke in the editor is met with a 3-5 second delay. Switching off Perforce support completely removes the delays and sluggishness. I don't believe I'm doing anything out of the ordinary especially since this is the way I've always worked and have had no problems in the earlier versions of Idea.
Hello Clifton,
CC> Typically I can have anywhere from 4 or 5 to 25 opened for editing
CC> at any one time. The problem I'm seeing is excessive chattiness
CC> between the P4 plugin and the P4 proxy instance. Every action I take
CC> in Idea seems to cause a delay only when Perforce is enabled.each
CC> key stroke in the editor is met with a 3-5 second delay. Switching
CC> off Perforce support completely removes the delays and sluggishness.
CC> I don't believe I'm doing anything out of the ordinary especially
CC> since this is the way I've always worked and have had no problems in
CC> the earlier versions of Idea.
Could you please take a CPU snapshot of your typing activity? In order to
do this, please add the following line:
-agentlib:yjpagent
to idea.exe.vmoptions, restart IDEA and use the "Capture CPU snapshot" button
on the toolbar.
However chatty the P4 plugin might be, it's definitely not performing some
VCS operation on every editor keystroke. The CPU snapshot will allow us
to see what exactly the problem is.
--
Dmitry Jemerov
Software Developer
JetBrains, Inc.
http://www.jetbrains.com/
"Develop with Pleasure!"
I tried attaching the snapshot but the forum said it was too large. Instead I've emailed it to you at your yole-at-jetbrains.com address.