From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Lars Ingebrigtsen Newsgroups: gmane.emacs.bugs Subject: bug#40628: Optimize admin/nt dependency computation Date: Fri, 12 Nov 2021 10:23:17 +0100 Message-ID: <87czn5u3qy.fsf@gnus.org> References: <854ktmyq7s.fsf@gmail.com> <87k0y91ejn.fsf@gnus.org> <87lfickqd3.fsf@gnus.org> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="38003"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux) Cc: 40628@debbugs.gnu.org, phillip lord To: Noam Postavsky Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Fri Nov 12 10:24:12 2021 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1mlSn5-0009ft-Hr for geb-bug-gnu-emacs@m.gmane-mx.org; Fri, 12 Nov 2021 10:24:11 +0100 Original-Received: from localhost ([::1]:46788 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mlSn4-0005Bu-Je for geb-bug-gnu-emacs@m.gmane-mx.org; Fri, 12 Nov 2021 04:24:10 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:47694) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mlSmx-0005B9-FL for bug-gnu-emacs@gnu.org; Fri, 12 Nov 2021 04:24:03 -0500 Original-Received: from debbugs.gnu.org ([209.51.188.43]:60135) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mlSmx-00022g-7C for bug-gnu-emacs@gnu.org; Fri, 12 Nov 2021 04:24:03 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1mlSmw-0005rw-KN for bug-gnu-emacs@gnu.org; Fri, 12 Nov 2021 04:24:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Lars Ingebrigtsen Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 12 Nov 2021 09:24:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 40628 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: patch Original-Received: via spool by 40628-submit@debbugs.gnu.org id=B40628.163670901322511 (code B ref 40628); Fri, 12 Nov 2021 09:24:02 +0000 Original-Received: (at 40628) by debbugs.gnu.org; 12 Nov 2021 09:23:33 +0000 Original-Received: from localhost ([127.0.0.1]:43445 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mlSmT-0005r1-6L for submit@debbugs.gnu.org; Fri, 12 Nov 2021 04:23:33 -0500 Original-Received: from quimby.gnus.org ([95.216.78.240]:35400) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mlSmR-0005ql-4E for 40628@debbugs.gnu.org; Fri, 12 Nov 2021 04:23:32 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnus.org; s=20200322; h=Content-Type:MIME-Version:Message-ID:In-Reply-To:Date: References:Subject:Cc:To:From:Sender:Reply-To:Content-Transfer-Encoding: Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender: Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=sZpSZGr6nQXvCchb5Q8bE3poCjU1EILcExjiPHiFDyk=; b=O5lnsiuUJBOg2EAOFxfUu0Tpx4 iA4+Vm/VfdUJn2WtcRYMX9jJRRX3ifS3YS73uKgQ6lMzUbYePZQWk/MDuAqIhU+gSjxittv37lrys zftgBSi0+jDEh5SBXWlEcarw9ys40b9pLDJmhMDsNnK53zx15E+fvQ2gWhcsRfbs9HDk=; Original-Received: from [84.212.220.105] (helo=xo) by quimby.gnus.org with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1mlSmE-00065P-Uj; Fri, 12 Nov 2021 10:23:22 +0100 X-Now-Playing: Sonic Youth's _Sonic Nurse_: "Pattern Recognition" In-Reply-To: <87lfickqd3.fsf@gnus.org> (Lars Ingebrigtsen's message of "Tue, 18 Aug 2020 15:58:32 +0200") X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.io gmane.emacs.bugs:219755 Archived-At: Lars Ingebrigtsen writes: > Lars Ingebrigtsen writes: > >> Noam Postavsky writes: >> >>> While checking the patch I suggested in >>> https://debbugs.gnu.org/40003#11, I noticed the dependency extraction >>> seemed pretty slow. With the patch attached below it's much faster >>> (1m20.437s to 0m3.695s according to 'time ./build-dep-zips.py -l'). > > [...] > >> This was four months ago, but the patch was apparently not applied? > > I don't have any Windows machines -- has anybody given this patch a test > to see whether it introduces any problems? I tested it myself, and it brought the generation time down from ~3 minutes to about 20 seconds, so I've applied the patch. I don't see any difference in the results, but then again, if failed with this both before and after the change: subprocess.CalledProcessError: Command 'wget -a ../download.log -O ../emacs-src-cache/mingw-w64-libtiff-4.3.0-6.src.tar.gz https://sourceforge.net/projects/msys2/files/REPOS/MINGW/Sources/mingw-w64-libtiff-4.3.0-6.src.tar.gz/download' returned non-zero exit status 8. -- (domestic pets only, the antidote for overdose, milk.) bloggy blog: http://lars.ingebrigtsen.no