ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 19690] New: - Cvs log & CvsChangeLog are painfully slow
Date Tue, 06 May 2003 06:43:10 GMT
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=19690>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=19690

Cvs log & CvsChangeLog are painfully slow

           Summary: Cvs log & CvsChangeLog are painfully slow
           Product: Ant
           Version: 1.5.3
          Platform: Other
        OS/Version: Other
            Status: NEW
          Severity: Normal
          Priority: Other
         Component: Core tasks
        AssignedTo: dev@ant.apache.org
        ReportedBy: peter@leschev.com


The following issue is described well in the following email:
http://marc.theaimsgroup.com/?l=ant-user&m=103652443632318&w=2

When running cvs log through the Cvs task & cvsChangeLog task, the time taken to
process these requests are painfully slow compared to calling cvs log > aFile.

Using the build file below, Cvs log & cvsChangeLog takes 50 seconds on a fairly
small project. When running "cvs log > temp.txt" from a shell, it takes around 2
seconds. On bigger projects, running through ant takes 5mins for both cvs log &
cvsChangeLog, while running from the shell script, it takes around 20seconds.

Note: /nfs/based/root = the NFS location of the CVS Repository.

------------------>8------------------>8------------------>8------------------>8

<?xml version="1.0"?>

<project default="defaulttarget" basedir=".">

  <target name="defaulttarget">

    <antcall target="cvsCheckout"/>
    <antcall target="cvsLog"/>
    <antcall target="cvsChangeLog"/>

  </target>

  <target name="cvsCheckout">
    <cvs cvsRoot="/nfs/based/root" command="co" package="." dest="."/>
  </target>

  <target name="cvsLog">
    <cvs cvsRoot="/nfs/based/root" command="log" package="." dest="."
output="cvsLog.txt"/>
  </target>

  <target name="cvsChangeLog">
    <cvschangelog dir="." destfile="changelog.xml"/>
  </target>

</project>

------------------>8------------------>8------------------>8------------------>8

Am able to give more info if required.

Mime
View raw message