This is the mail archive of the
cygwin
mailing list for the Cygwin project.
Re: Bash / cygwin process spawning (?) performance very slow
- From: litter at null dot net
- To: cygwin at cygwin dot com
- Date: Thu, 24 Sep 2015 19:26:49 +0200
- Subject: Re: Bash / cygwin process spawning (?) performance very slow
- Authentication-results: sourceware.org; auth=none
> 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