Bug 33611 - cvs operations on multipe files is VERY slow compared to commandline and others
Summary: cvs operations on multipe files is VERY slow compared to commandline and others
Status: RESOLVED FIXED
Alias: None
Product: Platform
Classification: Eclipse Project
Component: Team (show other bugs)
Version: 2.1   Edit
Hardware: PC Windows 2000
: P3 normal (vote)
Target Milestone: 2.1 RC2   Edit
Assignee: Jean-Michel Lemieux CLA
QA Contact:
URL:
Whiteboard:
Keywords: investigate, performance
Depends on:
Blocks:
 
Reported: 2003-03-01 15:13 EST by Max Rydahl Andersen CLA
Modified: 2003-03-20 04:25 EST (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Max Rydahl Andersen CLA 2003-03-01 15:13:29 EST
Doing a cvs update -dP in the root of a project (e.g. hibernate2 on sf.net)


takes a considerable amount inside eclipse compared to "raw" commandline, 
winCVS, emacs PCVS etc. 




And this happens both on remote repositories (e.g. sf.net) and local 
repositories (at work via 100 MBit net) - so it has nothing to do with the net 
latency.




Why is that ? Shouldn't it be possible to do almost as fast as the "native" ones 
?
Comment 1 Michael Valenta CLA 2003-03-01 19:09:30 EST
It should be possible in most cases. Given that we cache sync info, we should 
even be able to be faster. What Eclipse build are you using? What connection 
method (pserver, ext, extssh)? What JVM? How big is the project involved?
Comment 2 Michael Valenta CLA 2003-03-01 19:28:27 EST
Also, make sure you compare with auto-build turned off in Eclipse since a 
checkout will result in a full rebuild of your project if auto-build is turned 
on.
Comment 3 Jean-Michel Lemieux CLA 2003-03-05 12:42:44 EST
In 2.0 we ran benchmarks and for update, commit, and checkout we were as fast if
not faster. 

We recently found a bug a regression in 2.1 that slowed down CVS operations by
25%, that will be fixed in RC2. 

I'm going to take ownership and re-run the benchmarks for 2.1 against the
command line.
Comment 4 Jean-Michel Lemieux CLA 2003-03-07 11:21:46 EST
We've fixed the regressions that affected performance.
- console output
- isIgnored
- and some other String optimizations
Result, stopwatch benchmarks show that command line versus eclipse are close 
and our benchmarks test cases confirm. Please re-open if you don't see an 
improvement in 2.1 RC2.
Comment 5 Max Rydahl Andersen CLA 2003-03-20 04:25:27 EST
Just wanting to say that in RC2 CVS operations is much faster then before - so 
know I can actually use the synchronization command without waiting forever :)




Thanks!