Dominique, that was, with 1.6 I don't have the problem any more.
Thank you! Zsolt On Mon, 2003-08-25 at 17:00, Dominique Devienne wrote: > Zsolt, could you try with Ant CVS HEAD? > > Conor indicated that he removed there a 5 or 6ms pause in between each 128 > bytes read in StreamPumper, which could explain such poor performance. > > Morten's problem might be something else... > > Anyways, please give CVS HEAD a try, and report what you find. Thanks, --DD > > > -----Original Message----- > > From: Morten Mortensen [mailto:[EMAIL PROTECTED] > > Sent: Monday, August 25, 2003 4:33 AM > > To: 'Ant Users List' > > Subject: RE: Very bad performance when I redirect the output of a command > > > > > > Hi all, > > > > ..You mean "output", not "outfile"? Am I missing something? > > > > I experience *other* kind-of-related problems with the "exec" task and the > > "output"-attribute - it very much appears as if the output does not get > > flushed properly. This is with 1.5.3, 1.6 (and JDK 1.4.1 and 1.4.2 on > > Windows). In some specific setups of mine, I always get the first ~6 kb > > output only. > > > > The "exec" task has some kind of a flaw in it, I believe. > > > > Regards, > > Morten Sabroe Mortensen > > > > > > -----Original Message----- > > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] > > Sent: 25. august 2003 10:24 > > To: [EMAIL PROTECTED] > > Subject: RE: Very bad performance when I redirect the output of a > > command > > > > > > Can you try the same but without redirect? > > <exec command="cvs log -l ${package}" /> > > > > So we know where the break is > > - using the Redirector > > - doing the exec > > - outside of Ant > > > > > > Jan > > > > > > > -----Original Message----- > > > From: Zsolt Koppany [mailto:[EMAIL PROTECTED] > > > Sent: Monday, August 25, 2003 8:10 AM > > > To: [EMAIL PROTECTED] > > > Subject: Very bad performance when I redirect the output of a command > > > > > > > > > Hi, > > > > > > from an "ant" script when I execute a command with redirected > > > output it > > > takes 9 sec. to execute a command what I can execute in 0.1 sec (10 > > > times faster) from the console. I have even time to see how > > > the size of > > > the output file increases with repeated "ls -l filename" in an other > > > window. What is the reason? How can I fix that? > > > > > > I use ant-1.5.4 with jdk1.4.1_04 Sun on Redhat-9. > > > > > > Example: > > > <exec command="cvs log -l ${package}" outfile="${outputfile}" /> > > > > > > First I tried the <cvs command="log" ... and that does have the same > > > problem. > > > > > > Zsolt > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
