Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 02 Jun 2021 20:33:07 +0000
From:      bugzilla-noreply@freebsd.org
To:        bugs@FreeBSD.org
Subject:   [Bug 223553] bsdgrep in -current is 10 times slower than before
Message-ID:  <bug-223553-227-BvjbiKHcwZ@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-223553-227@https.bugs.freebsd.org/bugzilla/>
References:  <bug-223553-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=3D223553

Stefan E=C3=9Fer <se@FreeBSD.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |se@FreeBSD.org

--- Comment #6 from Stefan E=C3=9Fer <se@FreeBSD.org> ---
Created attachment 225513
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D225513&action=
=3Dedit
Speed-up fgrep -i

This patch has originally been attached to PR 223532, but is more relevant =
to
this PR.

The patch improves performance of "fgrep -i" in some tests by a factor of 3=
0 to
40.

I have run "kyua test" on fgrep built with and without this patch and got t=
he
same 4 failed test cases for either version.

The patch does not resolve the performance issue observed with grep/egrep -i
(which still is slower by about a factor of 100 compared to the same command
executed without -i).

--=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-223553-227-BvjbiKHcwZ>