This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Bash / cygwin process spawning (?) performance very slow


> Maybe:
> 
> strace bash -c 'time cat some-file | while read i;do echo 
> $i;/bin/true;done'
> 
> Haven't tested it.
> 
> Simplify the command:
> 
> for((i=0;i<150;i++));do /bin/true;done
> 
> to rule out a pipe-problem.

Thanks for the tips! Used a variant on the for loop to simplify the problem.

Regards,
Paul

--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]