X-Recipient: archive-cygwin AT delorie DOT com X-Spam-Check-By: sourceware.org Date: Thu, 5 Nov 2009 20:30:14 -0500 From: Christopher Faylor To: cygwin AT cygwin DOT com Subject: Re: 1.7] BUG - GREP slows to a crawl with large number of matches on a single file Message-ID: <20091106013014.GB3478@ednor.casa.cgf.cx> Reply-To: cygwin AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com References: <26224019 DOT post AT talk DOT nabble DOT com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <26224019.post@talk.nabble.com> User-Agent: Mutt/1.5.20 (2009-06-14) Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm Precedence: bulk List-Id: List-Unsubscribe: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com On Thu, Nov 05, 2009 at 03:27:07PM -0800, aputerguy wrote: > >Running grep on a 20MB file with ~100,000 matches takes an incredible almost >8 minutes under Cygwin 1.7 while taking just 0.2 seconds under Cygwin 1.5 >(on a 2nd machine). > >The following cases show how grep under 1.7 grinds to a halt as the number >of matches increases. > >The data 'testfile' is a plain text file of the acl's of all the 108,000 >files on my Windoze computer. > >Note since the machines are different, compare relative times across cases >rather than the times between the two machines. We'll need an actual test case if you want us to track it down. cgf -- 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