delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2022/05/23/17:23:40

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 1E6C738F8625
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=1653340926;
bh=0fJopZ36iKpmYs7+4hgz53Tu1wpNxO7zU5DmLb0ANww=;
h=Received:Message-ID:Date:MIME-Version:User-Agent:Subject:
Content-Language:To:References:From:In-Reply-To:Content-Type:
Content-Transfer-Encoding;
b=Ecxy+HXkmdq5LlKmFkGd/lMmtXkb/wiL6ukhLAiyUTOfcAGD700xVTbhGW9Mu9bQh
+kTOv1BU2sg3ibAEg9NBypiJ20vk8O9eek3gZUd+cJ62kLERXZtIaoofVXEmsMdN19
GJCOaAADPr3v1kIvIuRrfq2VogEONt3jzIxKf/m7y8CQLZibe20RYsz3+4t4sxyIWP
jrIGyeqT7JoBpw4uQeDg33ILV6twgaTNGrJgb+cB0bLkF/zUDa38Tpo2C3HA8Gm7PZ
84Jo+uQwH2h+utuDw3mmQ6bzpIYWb2YyWkOQiCat939rqQvEbUev+2s+nfY/sNvvAT
Ak2jO9rjRhTlN/c5mGRRY63lVAWev7y9hoGhSva1o26r28kqxcJms65sltqikUSW+D
KaiBlWQexUyUI2sGD7ifINzxX+hQvdb+YTG6dcEtuWt7Zmjt7rPhCdg8pqMETSzkg4
c8ASZEwxEJIXxRjIldWRijIx/njXoRtik/TDP9eE6M2u8Q+sRpVptxtszx50hIR2Gr
IOLtQCB3pyD31IEMVnyEgSf43tHoa+7Np1JaTo6mJY8llDwxYO1ChVExJ6kLD6izV9
CmlKJs8jk/07DeFBy+d+w8USXulCmj6DL/l9EMRuD2nZXijVWdZRShPE8L6NoJ1JTl
XPKMzRSFEvVKfIXt8wR/YpFs=
Message-ID: <fd023c43-af9d-1dc5-13d6-fc581148eebc@holgerdanske.com>
Date: Mon, 23 May 2022 14:22:00 -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>
<69f7b5b2-0730-bce2-90d8-95a7fde0a15f AT t-online DOT de>
<b4ea7bca-242a-4c9c-6736-ec997f6d6877 AT holgerdanske DOT com>
<CAD8GWsvsNsF9w7NzxRDDDCwfcVkJp4_kVvwr6f7obCxi95-ZiQ AT mail DOT gmail DOT com>
From: David Christensen <dpchrist AT holgerdanske DOT com>
In-Reply-To: <CAD8GWsvsNsF9w7NzxRDDDCwfcVkJp4_kVvwr6f7obCxi95-ZiQ@mail.gmail.com>
X-Spam-Status: No, score=-3.5 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,
URIBL_BLACK 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>
X-MIME-Autoconverted: from base64 to 8bit by delorie.com id 24NLNeL6004216

On 5/23/22 11:47, Lee wrote:
> On 5/22/22, David Christensen wrote:
>> On 5/21/22 10:55, Hans-Bernhard Bröker wrote:
>>> Am 18.05.2022 um 03:53 schrieb David Christensen:
>>>
>>>   > I am working on a Perl module that runs on various Unix-like platforms.
>>>   > When I 'make test' on similar computers:
>>>   >
>>>   > FreeBSD 12.3-RELEASE         28 wallclock secs
>>>   > Debian GNU/Linux 11.3          31 wallclock secs
>>>   > macOS 11.6.2              36 wallclock secs
>>>   > Windows 7 / Cygwin 3.3.5-1    509 wallclock secs

>> I was hoping there was a known issue.

> What I consider a well known issue is that process start up time is
> _very_ slow.  If your  'make test' starts lots of processes that could
> be a problem.


[Replying to off-list message.]


Thank you for the reply.


'make test' starts a large number of processes -- perhaps a thousand.


> Another huge slowdown is Windows Defender.  Try turning that off and
> seeing how long your 'make test' takes then.


Of all the test scripts, 02-compile.t consumes the most time on all 
platforms.


Using 02-compile.t as a benchmark, here is the compile time with Windows 
Defender enabled:

$ time perl -Ilib t/02-compile.t
<snip>
real    2m1.404s
user    3m20.490s
sys     4m24.476s


Here is the compile time with Windows Defender disabled:

$ time perl -Ilib t/02-compile.t
<snip>
real    1m56.606s
user    3m14.374s
sys     4m20.106s


Both of the above tests were run in Cygwin64 Terminal.  Using Debian and 
SSH:

$ time perl -Ilib t/02-compile.t
<snip>
real	1m18.733s
user	2m32.187s
sys	2m29.652s


So, Cygwin64 Terminal is also a problem.


In all cases, Resource Monitor indicates the script is CPU bound.


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