public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
From: Gordon Grimes <Gordon.Grimes@nortonlifelock.com>
To: "cygwin@cygwin.com" <cygwin@cygwin.com>
Subject: possible grep V3.7 issue
Date: Mon, 6 Jun 2022 12:26:57 +0000	[thread overview]
Message-ID: <MN2PR13MB3885F6723E20AF4268581CC188A29@MN2PR13MB3885.namprd13.prod.outlook.com> (raw)
In-Reply-To: <MN2PR13MB388514876921EBCBC0BB38FA88D79@MN2PR13MB3885.namprd13.prod.outlook.com>

Hi,

I wanted to let you know about a possible issue I found in grep v3.7.  I run Cygwin and recently downgraded ‘grep’ to v3.6 from v3.7 to address a performance issue (shown below).
I just thought you’d want to know  (V3.6 is working well, so I’m in a good place 😊 )
Enjoy,
-g-


% time echo hi | grep h
hi

real        0m7.442s
user       0m0.030s
sys          0m6.576s

% /usr/bin/grep --version
grep (GNU grep) 3.7
Packaged by Cygwin (3.7-2)
Copyright (C) 2021 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later https://gnu.org/licenses/gpl.html.
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.

Written by Mike Haertel and others; see
https://git.sv.gnu.org/cgit/grep.git/tree/AUTHORS.

After the downgrade…

% time echo hi | grep h
hi

real        0m0.292s
user       0m0.015s
sys          0m0.124s


% grep --version
grep (GNU grep) 3.6
Packaged by Cygwin (3.6-1)
Copyright (C) 2020 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later https://gnu.org/licenses/gpl.html.
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.

Written by Mike Haertel and others; see
https://git.sv.gnu.org/cgit/grep.git/tree/AUTHORS.


System Details…

OS Name:                   Microsoft Windows 10 Enterprise
OS Version:                10.0.19042 N/A Build 19042
OS Manufacturer:           Microsoft Corporation
OS Configuration:          Standalone Workstation
OS Build Type:             Multiprocessor Free
Registered Owner:          Windows User
Registered Organization:   TestCo
Product ID:                xxxxxx
Original Install Date:     1/11/2022, 7:40:45 AM
System Boot Time:          4/29/2022, 8:40:28 AM
System Manufacturer:       LENOVO
System Model:              20ST004EUS
System Type:               x64-based PC
Processor(s):              1 Processor(s) Installed.
                           [01]: Intel64 Family 6 Model 165 Stepping 2 GenuineIntel ~2592 Mhz
BIOS Version:              LENOVO N30ET45W (1.28 ), 2/24/2022
Windows Directory:         C:\Windows
System Directory:          C:\Windows\system32
Boot Device:               \Device\HarddiskVolume2
System Locale:             en-us;English (United States)
Input Locale:              en-us;English (United States)
Time Zone:                 (UTC-05:00) Eastern Time (US & Canada)
Total Physical Memory:     32,519 MB
Available Physical Memory: 6,687 MB
Virtual Memory: Max Size:  57,190 MB
Virtual Memory: Available: 11,275 MB
Virtual Memory: In Use:    45,915 MB
Page File Location(s):     C:\pagefile.sys
Domain:                    WORKGROUP
Logon Server:              xxxxx
Hotfix(s):                 9 Hotfix(s) Installed.
                           [01]: KB5012117
                           [02]: KB4562830
                           [03]: KB4570334
                           [04]: KB5005716
                           [05]: KB5012599
                           [06]: KB5007273
                           [07]: KB5011352
                           [08]: KB5011651
                           [09]: KB5005260
Network Card(s):           5 NIC(s) Installed.
                           [01]: Intel(R) Wi-Fi 6 AX201 160MHz
                                 Connection Name: Wi-Fi
                                 Status:          Media disconnected
                           [02]: Intel(R) Ethernet Connection (11) I219-V
                                 Connection Name: Ethernet
                                 Status:          Media disconnected
                           [03]: Bluetooth Device (Personal Area Network)
                                 Connection Name: Bluetooth Network Connection
                                 Status:          Media disconnected
                           [04]: Juniper Networks Virtual Adapter
                                 Connection Name: Local Area Connection* 12
                                 DHCP Enabled:    No
                                 IP address(es)
                                 [01]: xxxxx
                                 [02]: xxxxx
                           [05]: DisplayLink Network Adapter NCM
                                 Connection Name: Ethernet 2
                                 DHCP Enabled:    Yes
                                 DHCP Server:     192.168.1.1
                                 IP address(es)
                                 [01]: xxxxx
                                 [02]: xxxxx
Hyper-V Requirements:      VM Monitor Mode Extensions: Yes
                           Virtualization Enabled In Firmware: Yes
                           Second Level Address Translation: Yes
                           Data Execution Prevention Available: Yes

       reply	other threads:[~2022-06-06 12:27 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <MN2PR13MB388514876921EBCBC0BB38FA88D79@MN2PR13MB3885.namprd13.prod.outlook.com>
2022-06-06 12:26 ` Gordon Grimes [this message]
2022-06-06 12:34   ` Eliot Moss
2022-06-06 12:41     ` [EXT] " Gordon Grimes
2022-06-06 16:45       ` Brian Inglis

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=MN2PR13MB3885F6723E20AF4268581CC188A29@MN2PR13MB3885.namprd13.prod.outlook.com \
    --to=gordon.grimes@nortonlifelock.com \
    --cc=cygwin@cygwin.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).