www.delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2022/05/25/16:07:11

X-Recipient: archive-cygwin AT delorie DOT com
X-Original-To: cygwin AT cygwin DOT com
Delivered-To: cygwin AT cygwin DOT com
DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org 8DB8F385624D
Authentication-Results: sourceware.org; dmarc=pass (p=none dis=none)
header.from=holgerdanske.com
Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=holgerdanske.com
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=holgerdanske.com;
s=nov-20210719-112354; t=1653509210;
bh=JIJtVFC3KGysQFDHtsGNvEfv3hcs0IREGm0uDhjucqU=;
h=Received:Message-ID:Date:MIME-Version:User-Agent:Subject:
Content-Language:To:References:From:In-Reply-To:Content-Type:
Content-Transfer-Encoding;
b=43SFra8QhNkEY0gRQXS7UqO1uHuGfk/Alk19E2AdZY/JF/algvM3/ueBT9aHleqN4
AosXoKAL/TOrG0LQpUAPlGVvRBLCSvQS1TeqdEBFzE6cfDAD+8bgfoR5edEJfKdJzd
J07xVUPJfahQZGG/8+8M56e9oREqyox7d+A/OHt4GbvpqdAoLuBWgOHDiWImUiprvA
4gmR+++NC96m9f5+Wr9Z6RnFe/9+ZKCNDO2zQMZ0Wq8j2C71l784j6qK5c6+dTnY3b
lrmwLKawTrJaCVhUBVchJS0E8au41BHLrcO+Ba67gB8O6/BiMqxJykeNfMNjBtiDwy
+MsWk6i6egUuimDckIbG7nHV5VWbGfn2Yu95Ej3GguZRMvOG9IKxOIy6LCgwNHUNYb
Kj7cpd3IOwwvSl0Wpues8AOIDwCSUWvAr7iM7wNMnDJ1mVjzKd3t9phcpCHrkmN4lb
oiBTK3fAlFXvw3FZuaxjA9daZogNt1AWppI+z5xMYqoxbEojck6GNaEZheQj3+cvZt
gUj4LW4Ul8bfawFkeZrEdlyTkFHcoccElYZwG9RHLtSP1Gs49efppw+TQtfO6Mxu8h
/N5zvai0EHA5WX6xYbd3YNqAbRAAk0VWmyGI6HRVqvXfQ7k6qL+lm8525izHdYwUwg
mfsMztEJCrMCSo+XMevs/OVg=
Message-ID: <20eb0497-c06f-d949-7c35-31318455cf27@holgerdanske.com>
Date: Wed, 25 May 2022 13:06:49 -0700
MIME-Version: 1.0
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101
Thunderbird/91.8.0
Subject: Re: Cygwin Perl has slowed in recent months
To: cygwin AT cygwin DOT com
References: <9a24b87b-e71d-9371-5d78-2b0f160adacd AT holgerdanske DOT com>
<f21afd25-ff3c-657f-7711-6d66a142eb93 AT holgerdanske DOT com>
<Yo5FY/4YsyN2KGjz AT xps13>
From: David Christensen <dpchrist AT holgerdanske DOT com>
In-Reply-To: <Yo5FY/4YsyN2KGjz@xps13>
X-Spam-Status: No, score=-2.8 required=5.0 tests=BAYES_00, DKIM_SIGNED,
DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, NICE_REPLY_A, SPF_HELO_PASS,
SPF_PASS, TXREP,
T_SCC_BODY_TEXT_LINE autolearn=ham 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-Unsubscribe: <https://cygwin.com/mailman/options/cygwin>,
<mailto:cygwin-request AT cygwin DOT com?subject=unsubscribe>
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>
Errors-To: cygwin-bounces+archive-cygwin=delorie DOT com AT cygwin DOT com
Sender: "Cygwin" <cygwin-bounces+archive-cygwin=delorie DOT com AT cygwin DOT com>

On 5/25/22 08:04, gs-cygwin DOT com AT gluelogic DOT com wrote:
> On Tue, May 24, 2022 at 11:36:21PM -0700, David Christensen wrote:
>> I went back to the desktop computer that I have been using for Cygwin Perl
>> testing:
>>
> [...]
>>
>> 'make test' produced the following result:
>>
>> 99 wallclock secs ( 1.76 usr  0.41 sys + 342.21 cusr 375.40 csys = 719.78
>> CPU)
>>
> [...]
>> I ran Cygwin setup-x86_64.exe version 2.918 and upgraded all Cygwin
>> packages.
> [...]
>> I ran the cpan(1) shell and upgraded Perl modules:
> [...]
>>
>> 'make test' now produces:
>>
>> 211 wallclock secs ( 2.39 usr  2.71 sys + 525.68 cusr 998.78 csys = 1529.57
>> CPU)
> 
> You have merely demonstrated that there is a change in timing after
> upgrading *all* of cygwin environment and packages.
> 
> Basic troubleshooting by any competent admin involves making changes
> stepwise in steps as small as (reasonably) possible, and reperforming
> tests each step.
> 
> Next step: go back to your older system and upgrade only the Perl
> packages, then repeat the test.
> 
> If you are capable, try testing your cygwin environment on a different
> machine, preferably not a corporate machine with hidden BLODA, and with
> Microsoft Defender disabled (for the tests) (as previously asked by
> others).
> 
> If you are capable, try testing older and newer Perl installations on a
> different OS.
> 
> Annecdotally, I noticed about month or two ago that running my Perl
> Test::Harness slowed down dramatically after an upgrade of both kernel
> and packages on a Linux (*not Cygwin*) system.  I have not yet seen
> compelling evidence from you that the slowdown is due to Cygwin, and
> have seen data suggesting it is more directly related to Perl changes.
> 
> Other than your 'make test', do you have any evidence that anything else
> has slowed down as dramatically between the old and new cywgin packages?
> Any other shell scripts for which you tested the timing?
> Any other Perl scripts for which you tested the timing?
>    (and not run under 'make test')


I do not have the interest nor the means to bisect Cygwin, Perl, and/or 
CPAN looking for performance issues.


For my use-case (SOHO devops), Cygwin Perl performance is a "nice to 
have"; not a "must have". "Correctness" is the "must have".


I will continue to consider this question:

On 5/24/22 08:03, David Christensen wrote:
 > What is a suitable Perl benchmark?


David

-- 
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