5650 unusable with Perforce server on high-latency network

While I like the functionality of the new Perforce integration, I am still getting extremely bad performance when it is enabled in 5650. My network is high-latency because my Perforce server is across the Pacific ocean.

When Perforce integration is enabled, switching back to IDEA will take between 2 and 15 seconds to refresh (or occasionally much longer). There are constant freeze-ups during use (which it does eventually recover from).

Without Perforce integration enabled, IDEA is quite snappy, and I have no issues with its performance. Also the Perforce integration in 4267 performs perfectly well.

Is there any possibility of adding sync-on-demand as an alternative to background syncing? As it is 5650 is completely unusable for me.

Thanks,
-Bruce

0
8 comments

By the way, I'm not sure whether this would have an effect, but I do have over 6000 files listed in the "Unversioned Files" section due to a significant amount of code generation.

Thanks,
-Bruce

0
Avatar
Permanently deleted user

Hello brucet,

That's it. There's indeed a significant slowdown with huge amount of unversioned
or locally deleted files. Could these be somehow excluded from versioned
directories?

-


Maxim Shafirov
JetBrains, Inc
http://www.jetbrains.com
"Develop with pleasure!"

By the way, I'm not sure whether this would have an effect, but I do
have over 6000 files listed in the "Unversioned Files" section due to
a significant amount of code generation.

Thanks,
-Bruce



0

That's it. There's indeed a significant slowdown with huge amount of unversioned
or locally deleted files. Could these be somehow excluded from versioned
directories?


No, unfortunately these cannot be excluded because the majority are generated java files that are a part of the project, but which we specifically do not want to check in to perforce.

There are also some non-critical generated artifacts that reside in the source directories due to a somewhat sloppy build process. This might be possible to address some day, but would be a big project. It might be possible to exclude some of these if exclusions could be done via regular expressions, but this would be pretty tedious.

If the unversioned files are the problem, maybe there could be an option to turn off the tracking of unversioned files?

Thanks,
-Bruce

0
Avatar
Permanently deleted user

No, unfortunately these cannot be excluded because
the majority are generated java files that are a part
of the project, but which we specifically do not want
to check in to perforce.


I'm not familiar with perforce, but I imagine it has some kind of ignore mechanism a la .cvsignore or svn:ignore. Can't you add the generated files to to perforce's ignore list, so they don't show up as unversioned files?

0

Hmmm, I looked around a bit for this, but could not find any equivalent functionality.

-Bruce

0

Hello,

Many months after I encountered this problem on release 5650, I have just tried this out again on 6148, and am having all the same problems.

Because we use code generation, we have a scenario where we will forever have a large number of unversioned files which we do want to remain in the project (this is in the thousands). It sounds like IntelliJ has a serious performance problem when faced with large numbers of unversioned files.

Is there any way to handle this? Maybe a toggle for whether unversioned files should be tracked?

Thanks,
-Bruce

0
Avatar
Permanently deleted user

Hello brucet,

Many months after I encountered this problem on release 5650, I have
just tried this out again on 6148, and am having all the same
problems.

Because we use code generation, we have a scenario where we will
forever have a large number of unversioned files which we do want to
remain in the project (this is in the thousands). It sounds like
IntelliJ has a serious performance problem when faced with large
numbers of unversioned files.

Is there any way to handle this? Maybe a toggle for whether
unversioned files should be tracked?


One performance issue related to large number of unversioned files is fixed
in 6.0.5 EAP. In Selena, there's support for ignoring unversioned files,
which lets you specify that files in certain directories or files matching
certain masks should not be reported as unversioned. This should help even
further.

As usual, CPU snapshots are always welcome - it's possible that they will
reveal some problems which haven't yet been addressed.

--
Dmitry Jemerov
Software Developer
JetBrains, Inc.
http://www.jetbrains.com/
"Develop with Pleasure!"


0

Excellent, the problem seems to be completely resolved in the Selena 6708.

Thanks!
-Bruce

0

Please sign in to leave a comment.