Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 01 May 2021 09:52:05 +0000
From:      bugzilla-noreply@freebsd.org
To:        bugs@FreeBSD.org
Subject:   [Bug 255525] grep performance problem
Message-ID:  <bug-255525-227@https.bugs.freebsd.org/bugzilla/>

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

            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@FreeBSD.org
          Reporter: trasz@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_Pac=
kages
and do:

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

--=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-255525-227>