This is the mail archive of the
cygwin
mailing list for the Cygwin project.
Re: 1.7] BUG - GREP slows to a crawl with large number of matches on a single file
- From: Christopher Faylor <cgf-use-the-mailinglist-please at cygwin dot com>
- To: cygwin at cygwin dot com
- Date: Thu, 5 Nov 2009 20:30:14 -0500
- Subject: Re: 1.7] BUG - GREP slows to a crawl with large number of matches on a single file
- References: <26224019.post@talk.nabble.com>
- Reply-to: 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