Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 11 May 2021 00:12:58 +0000
From:      bugzilla-noreply@freebsd.org
To:        bugs@FreeBSD.org
Subject:   [Bug 254763] grep very slow with 13.0-RC4
Message-ID:  <bug-254763-227-G8Lqq31S5N@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-254763-227@https.bugs.freebsd.org/bugzilla/>
References:  <bug-254763-227@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D254763

Stefan Rink <stefanrink@yahoo.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |stefanrink@yahoo.com

--- Comment #8 from Stefan Rink <stefanrink@yahoo.com> ---
If you compile grep with gnuregex (like FreeBSD 12) it's okay.

With gnuregex; (edit grep.h to include gnuregex.h instead of gnuregex.h)
[root@SuperBSD /tmp/test]# cc -o grep *.c -lgnuregex -L/usr/local/lib
-I/usr/local/include
[root@SuperBSD /tmp/test]# time ./grep -i 'bla' /usr/ports/INDEX-13 | wc -l
    1040

real    0m0.388s
user    0m0.385s
sys     0m0.008s
[root@SuperBSD /tmp/test]# time grep -i 'bla' /usr/ports/INDEX-13 | wc -l
    1040

real    0m3.428s
user    0m3.430s
sys     0m0.008s

--=20
You are receiving this mail because:
You are the assignee for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-254763-227-G8Lqq31S5N>