Red Hat Bugzilla – Bug 1016308
rcs "co" command is very slow
Last modified: 2014-01-03 03:44:33 EST
Description of problem: There seems to be a performance regression in newer versions of RCS. I built RCS 5.7 and 5.9.1 on a Fedora 19 x86_64 system. Running on the same RCS data, I timed the new and old versions for
the command "co -p1.1 <filename>". With 5.9.1 (and 5.9), it takes over 1 minute.
With 5.7, it takes less than one second. This is on a file with 3585
revisions in the RCS history.
This performance regression is present in versions 5.8.1 and 5.8.2 as well.
Version-Release number of selected component (if applicable): rcs-5.9.0-1.fc19.x86_64
How reproducible: Run "co -p1.1 <filename>" on a file with many many revisions.
Steps to Reproduce:
1. time co -p1.1 <filename> for a file with many revisions.
Actual results: It should take less than 1 second.
Expected results: It takes more than a minute.
FYI, I opened an upstream bug here:
Thanks for cooperate with upstream. FTR, this seems to be the fix:
...but there can still be some performance difference between 5.7 and current code -- mostly due to architectural changes 
rcs-5.9.2-1.fc20 has been submitted as an update for Fedora 20.
rcs-5.9.2-1.fc19 has been submitted as an update for Fedora 19.
* should fix your issue,
* was pushed to the Fedora 20 testing repository,
* should be available at your local mirror within two days.
Update it with:
# su -c 'yum update --enablerepo=updates-testing rcs-5.9.2-1.fc20'
as soon as you are able to.
Please go to the following url:
then log in and leave karma (feedback).
rcs-5.9.2-1.fc19 has been pushed to the Fedora 19 stable repository. If problems still persist, please make note of it in this bug report.
rcs-5.9.2-1.fc20 has been pushed to the Fedora 20 stable repository. If problems still persist, please make note of it in this bug report.