delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2022/06/06/08:42:14

X-Recipient: archive-cygwin AT delorie DOT com
DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 58786384189E
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cygwin.com;
s=default; t=1654519332;
bh=GWWKK9OUnGxwLx/CbmIGfUMUhTlwqiRZrhhZJni/2FY=;
h=To:Subject:Date:References:In-Reply-To:List-Id:List-Unsubscribe:
List-Archive:List-Post:List-Help:List-Subscribe:From:Reply-To:
From;
b=ZtCSZzT/2O5zIqCfOuJIHwaYyiKm2QF5VsBh8KJefMhP9err0AXk4bQsNQJpQTYBw
Z7NgAeVb18rCOgG+JJ6p0NxR9oHpI9CE19i71GSg+0AWYdddht0fcNOCmrs7HPyTNz
L33hCuJdAPz064MbU/15VBGW8QhWRvP9KOCjs0xE=
X-Original-To: cygwin AT cygwin DOT com
Delivered-To: cygwin AT cygwin DOT com
DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org 7CB98385828B
ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none;
b=a7Pg/6cMPPd7A/QEGXoiF3x2co2qIUCKtn8BLr0/KPN0/4Dyv8DttcjYZrDeuUnRim5uoHBeVKAXsb1VVIKGsfZh27LPDbEjKnx6UOJf+M8pbreH+hYAagxotjg49KfdZ5hCEZo8/jsPwq99ZuXLfoaLPkEfkmLRhWU4ynZi60vMBIV6FHDqclylku3LdggnP1OOq78HUc+++AdT4vL4jXAj5gaqmKhh8Mj9nGDNo6I2WUjBR5B9JJWqwkuAV+Mo9QVXepMaZET1m4nPEwzNUT5PA/7Q18U9umzw4UjJnP3fJ5kJIdhk+tNOAymEjvVQURjlBZc+IidjDWfX1N/4JA==
ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com;
s=arcselector9901;
h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1;
bh=VHG3P9uFjW8QmcVFpecdj8qUWy30x7SHhc/gYN3oZFM=;
b=lPVn7Rjc+VcQqasU4NKcV5LDdjf53eNkHklDXVDsxHJt80sbneari84GxYOYf+1QvdPtRNAM3gmxjcKDdTVJbYK+PUCFYKW4YV/thdKFh4dBZwq5xghDal4Pt6MjqeNY37VohA2PpWYitxOruKirXgdhxuxjjcIoI2ZwcH4S39YRiUQNNDegHCTltiVmOYRuWFzZBqCp/oYajqdcN9OVPJMkku2WpHlnbQcW8m9y+COgrimvWjabJpuphFbYtS4UABsCbciyiSVMOH2oC6BKRjPk6HUyjt038iFUBvHAHhXFtzN7dsCPPvmhavYQXjL7JVdIVcgoH4sG2/2VH7EC9g==
ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass
smtp.mailfrom=nortonlifelock.com; dmarc=pass action=none
header.from=nortonlifelock.com; dkim=pass header.d=nortonlifelock.com;
arc=none
To: "moss AT cs DOT umass DOT edu" <moss AT cs DOT umass DOT edu>,
"cygwin AT cygwin DOT com"
<cygwin AT cygwin DOT com>
Subject: RE: [EXT] Re: possible grep V3.7 issue
Thread-Topic: [EXT] Re: possible grep V3.7 issue
Thread-Index: AdhvrvgHEnPQiJB6RWikVeZp7sBHsQJ8WwvwAABXBIAAABLLcA==
Date: Mon, 6 Jun 2022 12:41:35 +0000
Message-ID: <MN2PR13MB388552D979904FD099EC39D688A29@MN2PR13MB3885.namprd13.prod.outlook.com>
References: <MN2PR13MB388514876921EBCBC0BB38FA88D79 AT MN2PR13MB3885 DOT namprd13 DOT prod DOT outlook DOT com>
<MN2PR13MB3885F6723E20AF4268581CC188A29 AT MN2PR13MB3885 DOT namprd13 DOT prod DOT outlook DOT com>
<d3816695-b92c-f6e5-8d52-38a0b38ec479 AT cs DOT umass DOT edu>
In-Reply-To: <d3816695-b92c-f6e5-8d52-38a0b38ec479@cs.umass.edu>
Accept-Language: en-US
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
x-ms-publictraffictype: Email
x-ms-office365-filtering-correlation-id: b97efb1c-3490-4f2c-8b57-08da47b9e4dd
x-ms-traffictypediagnostic: BN8PR13MB2738:EE_
x-microsoft-antispam-prvs: <BN8PR13MB27380F1AC772EACC2349947C88A29 AT BN8PR13MB2738 DOT namprd13 DOT prod DOT outlook DOT com>
x-ms-exchange-senderadcheck: 1
x-ms-exchange-antispam-relay: 0
x-microsoft-antispam: BCL:0;
x-microsoft-antispam-message-info: /0zcedxnzhyw10etIFbfmkGwvjnp/c+PZgXu82EadSi3tXGkG+74wTQE/JDU369wk61ZWD/szyuwAzI8CEPDKG/fjnMQgHQbNgJN9tUofOgkJm4tBsQfF77h5HgSowByjcMeOPVoIqY4dvy2hhFL7ch7wB9UPDH0Qkap2MKJc4fJcUhbaBO/I2JrUDo6k7PeWIpqWRuJgZJtjZ4trn+JJqWLA4WWmKUoR889GPaZlDFt8I0c8KONUEwQdr7kvSU32JXqw1Mdaq4MjYZbJhK6Bkl7R6/U53OSkso+JO6layXx6thtTGA11HLCdoygeEiz9cROgIIVWgZHzQe8PTw1SYJvpVfIo4IQZApW++uyNjA+0XqcZC+kLAU65saU9alSLUuE4HYHccAFBswaJijxOYKkVyA5Ftfh6xvXV5KLtp4VensinzVVs4nZNTFIu4HfKrbRQRFqsw0pVPRn/NDQLldQTDe6Kcl+/ntgDZY2R5MtI/omXulYctK5lJ88e/gid9LrDgNd2L35k3Qe5nJmbzkT+cZ3oetMtWYH+OirWrXH4KcKdeduXxs/rCdVfB0YPB+1wEzpfBM5Q9pBICz70kIPT33gghZQpvMXcv6hgFOVaZ+GJoHCXnJ46IYvQ0WpRNddKm+uV4nEOuI/VmoXKnPhT5mn6y5PL24x+4RSXzt8wCwuBs9ah7dhbW1/iAVxV+6wIIuPBlFReHiIhrXqWXh8VIgIxJ33l/wV2xcXMAlMHHtiFps2EqA7Mkp5RkduEjKrjxEv4jDoDAztmWaeWGuqX9VzGgSd4eMjh4RvslPZuEpzvWCIdUJwQL5tg98G
x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:;
IPV:NLI; SFV:NSPM; H:MN2PR13MB3885.namprd13.prod.outlook.com; PTR:; CAT:NONE;
SFS:(13230001)(4636009)(366004)(66476007)(66556008)(66946007)(76116006)(122000001)(66574015)(38070700005)(55016003)(52536014)(66446008)(8676002)(5660300002)(64756008)(8936002)(186003)(83380400001)(7696005)(9686003)(6506007)(2906002)(26005)(45080400002)(53546011)(316002)(966005)(86362001)(33656002)(508600001)(38100700002)(110136005)(71200400001)(2004002);
DIR:OUT; SFP:1102;
x-ms-exchange-antispam-messagedata-chunkcount: 1
x-ms-exchange-antispam-messagedata-0: =?utf-8?B?QjNSQkVtMWgyR1VGNXVqRG5WSHF0aDFOTGVjVUp5ZHJCUnhTNERUZmE5WktH?=
=?utf-8?B?UCtKN2V2UE5UMlM2UkMvVlc4eE93RlZVeWxvZGNRWUtSWXF3RUJOcEdzOWNM?=
=?utf-8?B?YjZUVzl1UXpPUm5QWU9YMjdpdmZ6R0VkdU5xQ05vYWdJTGdzUnhiZDRpbWRU?=
=?utf-8?B?TzVuOHVDZy8xNEh6UTBsbCtpV3VqTndLV0ZiNnN2bzhCSnovRFBtM0o2bXlT?=
=?utf-8?B?VWVBQnlTRjVjTzhOY0ZsM0FoaXhsQmhuTUR6TStNK29Uc0pFdWtaclJiVjBP?=
=?utf-8?B?ZExia09ScEN6M3JIY0pwblYvNk9HNTBXRFh0azNoWS8xT2JDMU5TUlUrNFpl?=
=?utf-8?B?aHZCL09sT3hTcUc2UWlpcnB6YVhwRUp5L1pmTCtJOU5EOTRja1NXb0p6MWM3?=
=?utf-8?B?QmI1emNFam93ZXFLQlJBbWhFTlRDMW1hd3dKUlhrenozaGRuMjg2Qyt0eHho?=
=?utf-8?B?dDV4NUUrdVFCUE1JbTJxSXZHUElDdW56T3pnY3hTdWRtTnBZMlhJdkQwNWE1?=
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8?B?RXZseHhYUFZYY2xINDFTVkNEcXdPNHBYZEIvdmxDaHltejZpNXdRZ0JaV1dS?=
=?utf-8?Q?RINK6capx6SchuPY=3D?=
MIME-Version: 1.0
X-OriginatorOrg: nortonlifelock.com
X-MS-Exchange-CrossTenant-AuthAs: Internal
X-MS-Exchange-CrossTenant-AuthSource: MN2PR13MB3885.namprd13.prod.outlook.com
X-MS-Exchange-CrossTenant-Network-Message-Id: b97efb1c-3490-4f2c-8b57-08da47b9e4dd
X-MS-Exchange-CrossTenant-originalarrivaltime: 06 Jun 2022 12:41:36.0124 (UTC)
X-MS-Exchange-CrossTenant-fromentityheader: Hosted
X-MS-Exchange-CrossTenant-id: 94986b1d-466f-4fc0-ab4b-5c725603deab
X-MS-Exchange-CrossTenant-mailboxtype: HOSTED
X-MS-Exchange-CrossTenant-userprincipalname: A8fKbMx4yCL2wKjbt4PpzT2QY//pYAujjcXdLMbl6+3EVPTCtaypRCHBdNVnttwhakGQXQJ5O6LBysPe8iiLG6rrloQrBUKVAAl9L4TJ4zanrjSH/jBpjtpA8RZ4BQZu
X-MS-Exchange-Transport-CrossTenantHeadersStamped: BN8PR13MB2738
X-Spam-Status: No, score=-1.1 required=5.0 tests=BAYES_00, DKIM_SIGNED,
DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, FORGED_SPF_HELO, KAM_SHORT,
SPF_HELO_PASS, SPF_NONE, TXREP,
T_SCC_BODY_TEXT_LINE autolearn=no autolearn_force=no version=3.4.6
X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on
server2.sourceware.org
X-BeenThere: cygwin AT cygwin DOT com
X-Mailman-Version: 2.1.29
List-Id: General Cygwin discussions and problem reports <cygwin.cygwin.com>
List-Archive: <https://cygwin.com/pipermail/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-request AT cygwin DOT com?subject=help>
List-Subscribe: <https://cygwin.com/mailman/listinfo/cygwin>,
<mailto:cygwin-request AT cygwin DOT com?subject=subscribe>
From: Gordon Grimes via Cygwin <cygwin AT cygwin DOT com>
Reply-To: Gordon Grimes <Gordon DOT Grimes AT nortonlifelock DOT com>
Sender: "Cygwin" <cygwin-bounces+archive-cygwin=delorie DOT com AT cygwin DOT com>
X-MIME-Autoconverted: from base64 to 8bit by delorie.com id 256CgEcU023159

Thanks Elliot.

Yeah, I suspected this wasn't 100% reproducible or else it'd have been reported/addressed by now.  As you say, perhaps there's some idiosyncrasy with my system/setup.  If there's a wave of reporting a similar issue then perhaps it's worth a look (e.g. perhaps a recent MS update triggered this).  Anyway, unless/until that happens, I'll simply stick with V3.6. 

Thanks for taking a look.
-g-

-----Original Message-----
From: Eliot Moss <moss AT cs DOT umass DOT edu> 
Sent: Monday, June 6, 2022 8:34 AM
To: Gordon Grimes <Gordon DOT Grimes AT nortonlifelock DOT com>; cygwin AT cygwin DOT com
Subject: [EXT] Re: possible grep V3.7 issue

On 6/6/2022 8:26 AM, Gordon Grimes via Cygwin wrote:
> 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://nam04.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgnu.org%2Flicenses%2Fgpl.html&amp;data=05%7C01%7CGordon.Grimes%40nortonlifelock.com%7C640f66e158104f7486ea08da47b8e328%7C94986b1d466f4fc0ab4b5c725603deab%7C0%7C0%7C637901156666044572%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&amp;sdata=FujGNPbnS6TMO8I1RT%2FuczWHhImX6KnEUnLWC5EYYTE%3D&amp;reserved=0.
> 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://nam04.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgit.sv.gnu.org%2Fcgit%2Fgrep.git%2Ftree%2FAUTHORS&amp;data=05%7C01%7CGordon.Grimes%40nortonlifelock.com%7C640f66e158104f7486ea08da47b8e328%7C94986b1d466f4fc0ab4b5c725603deab%7C0%7C0%7C637901156666044572%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&amp;sdata=yXCYAppkPpbDwkD1h2BPA%2B5PPE6QYLRvmVHxvUwxP34%3D&amp;reserved=0.
> 
> After the downgrade…
> 
> % time echo hi | grep h
> hi
> 
> real        0m0.292s
> user       0m0.015s
> sys          0m0.124s

I'm running 3.7-2 and get timing similar to what you give for 3.6:

real    0m0.167s
user    0m0.015s
sys     0m0.061s

Not sure what to say unless, if I downgraded, it would be an order of magnitude faster ...

I wonder if maybe the new version triggers some anti-virus activity or something like that.

Eliot Moss

-- 
Problem reports:      https://cygwin.com/problems.html
FAQ:                  https://cygwin.com/faq/
Documentation:        https://cygwin.com/docs.html
Unsubscribe info:     https://cygwin.com/ml/#unsubscribe-simple

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019