[Bug 223553] bsdgrep in -current is 10 times slower than before

From: <bugzilla-noreply_at_freebsd.org>
Date: Wed, 02 Jun 2021 20:33:07 +0000
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=223553

Stefan Eßer <se_at_FreeBSD.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |se_at_FreeBSD.org

--- Comment #6 from Stefan Eßer <se_at_FreeBSD.org> ---
Created attachment 225513
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=225513&action=edit
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 30 to
40.

I have run "kyua test" on fgrep built with and without this patch and got the
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).

-- 
You are receiving this mail because:
You are the assignee for the bug.
Received on Wed Jun 02 2021 - 20:33:07 UTC

Original text of this message