From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-wm1-x334.google.com (mail-wm1-x334.google.com [IPv6:2a00:1450:4864:20::334]) by sourceware.org (Postfix) with ESMTPS id 8F9D93856DED for ; Tue, 24 May 2022 08:25:58 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org 8F9D93856DED Authentication-Results: sourceware.org; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=gmail.com Received: by mail-wm1-x334.google.com with SMTP id h19-20020a05600c351300b003975cedb52bso473445wmq.1 for ; Tue, 24 May 2022 01:25:58 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc:content-transfer-encoding; bh=J4J9A2BQyCNzfVgG2hOacphshlr5LYa+H6Z+8cazkhY=; b=O1leB62LyIOyN6UQJh6CGk+rYrkuZBCAIf/ekt1C6qGWSju0XnaGIY/m1CbpzvIUHs veSJQEaFNC++HvzpinTnPhPH3rqi0TKFy4E3Dtbtv9R+86TeYWyXDl/AOq+BgKRjl+ve RIOxd9CYtAfZoqvQnhLLLxEVgx+qGl1lB1UkZUXyyCuczL0VOyoyS7Cms2cg+UwqkqCk Zmr5r4j7mjAs0Mk3QXUhRklzU5s3Wvtus6ydDranVk7cC0Y2n793gSUlL6F9xMnWw12T 9s6wHbg3Gq6/6NARJ8+KOycEsM2QhEZYdU9vz+fOpcNebNxH4KrCix2MIRTal8fS+f0Z qXrg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc:content-transfer-encoding; bh=J4J9A2BQyCNzfVgG2hOacphshlr5LYa+H6Z+8cazkhY=; b=ctAJBsCQi78bOs9RuKGgC7EhSq35LJXhc4sw4wrxvOunmVK+bQp3wEnxlTn96qMqfs TWeKCbphAxxkxE/zJho/iXj7pczUNCCxYwLQ1BLC7by1Lhuet1cpcH4Uod1KxAvJJrxu iYrGCnwBLtCXQU+tzMpPzOwf0kBMfMLLt9EpsWFSQhC5wvR0Dp3doT4f/hiu93aKxm2x 5Fs0s0wa7P+LVLmbTwD71YJREKy+ffUXx8MUrs48/HJrfcpRw2F2lrYDJYmQOhYVidKP IifJL5Q+/TuDtJBvJMfs4mzXumqitE+56FjWOhw7uei7fipLviu78nYf1x0QVyfQpTA3 X7kg== X-Gm-Message-State: AOAM533j9tjsu1CH07e0e/vFynCwHU6lxHJ567vKOmUhRAja7uIhAhRz fsGOh5/soTFRpaZAiMrMEY//whtxdRALZW7z89c= X-Google-Smtp-Source: ABdhPJykg5s5qk6L9I9fh2j25C8uCf4IumyI6M/md8pmw3Voh5kHQqSNHNQaGSWEuwzVbs554HY7AL07zKPxBhiaO/k= X-Received: by 2002:a7b:c2a9:0:b0:397:9a4:f66b with SMTP id c9-20020a7bc2a9000000b0039709a4f66bmr2640198wmk.128.1653380757264; Tue, 24 May 2022 01:25:57 -0700 (PDT) MIME-Version: 1.0 References: <9a24b87b-e71d-9371-5d78-2b0f160adacd@holgerdanske.com> <69f7b5b2-0730-bce2-90d8-95a7fde0a15f@t-online.de> In-Reply-To: From: Csaba Raduly Date: Tue, 24 May 2022 10:25:43 +0200 Message-ID: Subject: Re: Cygwin Perl has slowed in recent months To: Lee Cc: David Christensen , cygwin list Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Spam-Status: No, score=-1.3 required=5.0 tests=BAYES_00, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, FREEMAIL_FROM, RCVD_IN_DNSWL_NONE, SPF_HELO_NONE, 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@cygwin.com X-Mailman-Version: 2.1.29 Precedence: list List-Id: General Cygwin discussions and problem reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 24 May 2022 08:26:00 -0000 On Mon, 23 May 2022 at 20:47, Lee wrote: > > On 5/22/22, David Christensen wrote: > > On 5/21/22 10:55, Hans-Bernhard Br=C3=B6ker wrote: > >> Am 18.05.2022 um 03:53 schrieb David Christensen: > >> > >> > I am working on a Perl module that runs on various Unix-like platfo= rms. > >> > 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 > >> > >> Given the complete lack of information about what that Perl module of > >> yours might be doing, that's hard to have a meaningful discussion abou= t. > > > > > > Thank you for the response. I was hoping there was a known issue. > > Apparently, not. > > 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. > While Cygwin''s fork emulation is indeed slow (I once measured 1000:1 between Cygwin and Linux * ), "make test" likely started roughly the same number of processes "then" as it does "now". In which case the increase in the run time could be attributed to Cygwin. * "The marvel is not that the bear dances well, but that the bear dances at all" - Russian proverb --=20 You can get very substantial performance improvements by not doing the right thing. - Scott Meyers, An Effective C++11/14 Sampler So if you're looking for a completely portable, 100% standards-conformant w= ay to get the wrong information: this is what you want. - Scott Meyers (C++TDa= WYK)