From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on starla X-Spam-Level: X-Spam-Status: No, score=-0.7 required=3.0 tests=DKIM_INVALID,DKIM_SIGNED, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,RCVD_IN_DNSWL_MED, SPF_HELO_PASS,SPF_PASS autolearn=ham autolearn_force=no version=3.4.6 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by dcvr.yhbt.net (Postfix) with ESMTPS id 20D851F44D for ; Mon, 22 Apr 2024 20:55:49 +0000 (UTC) Authentication-Results: dcvr.yhbt.net; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=clisp.org header.i=@clisp.org header.a=rsa-sha256 header.s=strato-dkim-0002 header.b=oKL/3e77; dkim=fail reason="signature verification failed" header.d=clisp.org header.i=@clisp.org header.a=ed25519-sha256 header.s=strato-dkim-0003 header.b=/92mWXTF; dkim-atps=neutral Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rz0hJ-0003il-Fm; Mon, 22 Apr 2024 16:55:33 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1rz0hD-0003hj-5F for bug-gnulib@gnu.org; Mon, 22 Apr 2024 16:55:28 -0400 Received: from mo4-p00-ob.smtp.rzone.de ([81.169.146.163]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1rz0h8-000415-FD for bug-gnulib@gnu.org; Mon, 22 Apr 2024 16:55:24 -0400 ARC-Seal: i=1; a=rsa-sha256; t=1713819317; cv=none; d=strato.com; s=strato-dkim-0002; b=poq7tNF9GGJu41wC7O7PID8SWpfZnx5HfUtvU/54bWgpRdyC6NP+NJjsL1TA2bhUGn zn0SzyBzLJ9WoqhUk/j9oRFaJOmEJd5lff0SK3Qn+qDcG/GKYaNsE+usk/yOQjsvgqu6 hvWrmUn2L+VSwzdzyUdmcuzY6gXK6WSh0dkFU4TCkgPgXqxtyQbclK75rf838VgTij9r APItryAbpu/dd5ggwUoaSBK6XgAvHpLT7eyXzp8D41VjmcEQsPhLG+1g0FNax/YPsd/e EMU5sB5fyeERWEmB/njJUKP3g5WrcxIK+Yib2dYcM+vXvaXxnhWcUciT8qiSCu2qtFHV biUg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; t=1713819317; s=strato-dkim-0002; d=strato.com; h=References:In-Reply-To:Message-ID:Date:Subject:To:From:Cc:Date:From: Subject:Sender; bh=4MMnPFc+H/JuPenxS+WTLuA0fupz2R2Bg4NHcNCOuBM=; b=VuR+XVCLRYguLA2oTtXB9moUifQ6RtEG8W15FSl0A3a2BprAmWfdRXlb9eHh5fvx9M 20X/3yIkzqMRQ9c2tkH9PzF9x9SoHXFZmuSrQgdT+zBvZG1MsyBy5K7K9JwFISx/9tmy MWpN43a4Ehm3I5cGLILgNFAE1DiWEgE2s8c/zfRVQrqqU8YMrAG3yX+0C2VpN97E6Fyb tcqiek2iV+vIRxi5P8veMJYg3agDH2ORQdf03EW9djTni+a3k9Qls5YGczg/K3q64Hzs WJxFLeP83xMg7XvzH1nC3LyUukHmfueklMTH8dD2BEfQ2lHYCpPpBIVYDGQjTUwTqXNW CNXQ== ARC-Authentication-Results: i=1; strato.com; arc=none; dkim=none X-RZG-CLASS-ID: mo00 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; t=1713819317; s=strato-dkim-0002; d=clisp.org; h=References:In-Reply-To:Message-ID:Date:Subject:To:From:Cc:Date:From: Subject:Sender; bh=4MMnPFc+H/JuPenxS+WTLuA0fupz2R2Bg4NHcNCOuBM=; b=oKL/3e77n/i04Yjv0qhiVRJPUuvO4LmzGYd4cWe9GNLBoSzLg0H6LoyHQpnmq8C/Wp 2eARMzLBwaDB8ZnNVwtg3wxngHUtiueb7f1ScbqMfl0GeIfIovsO6R5F7TDvoA0Ri31i r4tnJL8VQqaUdAqo/bUUELPKrrdC536+HRZ2OnmAm56NAnhjyGuU93ohNCjyowSM5Xfa QSQ30x7JPY2vG6LsT7+5T+/zVhe2b62bAu8Sf+g8Pksr0gIVo4MrgQZwL7THAwH+9Thg 6PB4i/CVU1vab4CrSvgVjaVBpoxSfgQGR2Fz2xZ3ppdkjO1akli32TUtnBQANfO/PbzH HFww== DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; t=1713819317; s=strato-dkim-0003; d=clisp.org; h=References:In-Reply-To:Message-ID:Date:Subject:To:From:Cc:Date:From: Subject:Sender; bh=4MMnPFc+H/JuPenxS+WTLuA0fupz2R2Bg4NHcNCOuBM=; b=/92mWXTFevJkng4FrftkZ1b7lcpV7SslBx3TFR+QoPIYt01AOxCW7lD+Dymnq46316 gZAnG1UnT3yVRZajLFCg== X-RZG-AUTH: ":Ln4Re0+Ic/6oZXR1YgKryK8brlshOcZlIWs+iCP5vnk6shH0WWb0LN8XZoH94zq68+3cfpPFiP3NJrs+PpjM6dx108YZvLFZnw==" Received: from nimes.localnet by smtp.strato.de (RZmta 50.3.2 AUTH) with ESMTPSA id N8610003MKtHEie (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256 bits)) (Client did not present a certificate); Mon, 22 Apr 2024 22:55:17 +0200 (CEST) From: Bruno Haible To: Paul Eggert , bug-gnulib@gnu.org, Collin Funk Subject: Re: diffutils __pycache__ failure. Date: Mon, 22 Apr 2024 22:55:16 +0200 Message-ID: <5794066.hSnDOejNSh@nimes> In-Reply-To: <67624884-98ff-4dfc-a719-8671f1f9b2fd@gmail.com> References: <20240421-125239.sv1871.186403@savannah.gnu.org> <5593086.AgqYbqDuvN@nimes> <67624884-98ff-4dfc-a719-8671f1f9b2fd@gmail.com> MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" Received-SPF: none client-ip=81.169.146.163; envelope-from=bruno@clisp.org; helo=mo4-p00-ob.smtp.rzone.de X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H3=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_HELO_PASS=-0.001, SPF_NONE=0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: bug-gnulib@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Gnulib discussion list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnulib-bounces+normalperson=yhbt.net@gnu.org Sender: bug-gnulib-bounces+normalperson=yhbt.net@gnu.org Collin Funk wrote: > >> I have no clue if this has a noticeable performance impact or not. > > > > Can you measure it, please? For example, with > > GNULIB_TOOL_IMPL=py time ./test-all.sh > > > > I measure a difference in the 2% range, but it's not clear to me whether > > -B slows down or speeds up things :) > > Sure, here is the results using the -B flag. I'm removing the > __pycache__ directory before using -B flag to make sure it doesn't get > read. > > Using 'env GNULIB_TOOL_IMPL=py ./test-all.sh' in import-tests: > > no -B flag: 0m16.699s > -B flag: 0m20.892s > > Using 'env GNULIB_TOOL_IMPL=py ./test-all.sh' in create-tests: > > no -B flag: 2m45.046s > -B flag: 2m46.674s Thanks for measuring it. So, the -B flag causes a slowdown. > The create-tests spend most of their time in autoconf and friends if I > remember correctly. > > The import tests feel noticeably slower with -B to me. This is explained by the fact that the import tests do nearly 100 gnulib-tool invocations: The same just-in-time compilation must happen in memory 100 times. This explains the 4 seconds of slowdown. Bruno