[Bug 255525] grep performance problem

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Sat May 1 09:52:05 UTC 2021


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=255525

            Bug ID: 255525
           Summary: grep performance problem
           Product: Base System
           Version: CURRENT
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: bin
          Assignee: bugs at FreeBSD.org
          Reporter: trasz at FreeBSD.org

The sysutils/debootstrap port seems to trigger a pathological corner case in
BSD grep, where it's about two orders of magnitude slower than GNU grep.

To reproduce: grab
https://people.freebsd.org/~trasz/debian_dists_buster_main_binary-amd64_Packages
and do:

$ grep -E
'^$|^Architecture:|^Filename:|^MD5sum:|^Package:|^Priority:|^SHA256:|^Size:|^Version:|^Depends:|^Pre-Depends:'

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


More information about the freebsd-bugs mailing list