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=-1.0 required=3.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,FREEMAIL_FORGED_FROMDOMAIN,FREEMAIL_FROM, 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 26D711F44D for ; Mon, 22 Apr 2024 19:46:31 +0000 (UTC) Authentication-Results: dcvr.yhbt.net; dkim=pass (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.a=rsa-sha256 header.s=20230601 header.b=WkybK7F5; dkim-atps=neutral Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ryzbv-0004Ux-04; Mon, 22 Apr 2024 15:46:04 -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 1ryzb5-00041t-8F for bug-gnulib@gnu.org; Mon, 22 Apr 2024 15:45:03 -0400 Received: from mail-pf1-x430.google.com ([2607:f8b0:4864:20::430]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1ryzb3-00008A-Kx for bug-gnulib@gnu.org; Mon, 22 Apr 2024 15:45:02 -0400 Received: by mail-pf1-x430.google.com with SMTP id d2e1a72fcca58-6f043f9e6d7so5242988b3a.3 for ; Mon, 22 Apr 2024 12:45:01 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1713815100; x=1714419900; darn=gnu.org; h=content-transfer-encoding:in-reply-to:from:content-language :references:to:subject:user-agent:mime-version:date:message-id:from :to:cc:subject:date:message-id:reply-to; bh=H8CHO1eW0IthQhYVRO7Bhhts7WarfHLWPbzWNj1+aLk=; b=WkybK7F5bIyfYztUJFfM3zIhkxgpzpLQsgOaUz6/5jF+nVOZkPtAWTqIrw5il1TG/e m5O6BiTQCoAOhmron41hk7J8n3MjkB+l38winMQzyq1Ic9vdhI17cjaOKQb/XKS7mvLS SRlk0VmB01fSyOGOZ1IPeMENk30s2XCYLrXmAfzodAEZx556m5lINUa+R+IdOUIudsGf gpn2aoQ2BpmPgkHB3YRhK3c6mpl/yxHUERu4cbPItyCqkhUqj/IIN1WqzKxg0ESmFJ+c 0l1v9qs2dzYnM5Ndl9ISwmSTnQ1pP0Xp9pCg17UfFVXK9GqA7OFqc82Un6jRzSxPB8Bc QHyw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1713815100; x=1714419900; h=content-transfer-encoding:in-reply-to:from:content-language :references:to:subject:user-agent:mime-version:date:message-id :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=H8CHO1eW0IthQhYVRO7Bhhts7WarfHLWPbzWNj1+aLk=; b=iamsxDHV0Irt+OZ8T86//yuKxFSRXIULfPARbRP3u71Zyi9VCclTbSez25XNFNBh9J TJIj1dTXHeBCPre3Ey0U94pPEVQ/8x/n6/iL6O5nvrFVmFay7Y+SZHuGeYfRuMcAF5zv 9lVLj0PvH5Lu/9jMaPl4G/40HgqoCD7gLu4aMBhPtn6/3UuSMleDxwszF2T5Id9xD3TI 6QwWTQz7pNFSl6oCamRKJ2UaI1he7gh4STbUzK3JxrFV+scHTIq/O+i/6jnPsh6NSvJ6 06ErKHIhe759rTVgxH5ir6EYaUHyASKNXpGWQrfOp2QuMkGYdqkgmD0tWUPLM5LSTaO5 0Qdw== X-Forwarded-Encrypted: i=1; AJvYcCX5vw6zJY/XxpJlP0M8Gf0q2QURJaBgyWL1BC/14rRyE+3+F4DrG0fG0EalyLTfyCt8lAsg0MkIGINuK9shm3dGCYY= X-Gm-Message-State: AOJu0Ywek9ndkntJ+/bKkdgLg24rYuSHL6xxdPMH+Sybd3uIPMmGkRiH VS837DoytU5lbe4E88JEkLeqo9tC3WcdzCaNlfXWS0E6ly0OwOCZTsQgqQ== X-Google-Smtp-Source: AGHT+IEN2/DBanV9/xcUpNxZvDlCrcyvH+X3dfFTsMD1j0H9qSPkkzADADSxVYUjzHvejA0ieRTuZw== X-Received: by 2002:a05:6a00:93a0:b0:6e6:8df5:f77a with SMTP id ka32-20020a056a0093a000b006e68df5f77amr12162850pfb.31.1713815100212; Mon, 22 Apr 2024 12:45:00 -0700 (PDT) Received: from [192.168.1.5] (c-73-189-213-139.hsd1.ca.comcast.net. [73.189.213.139]) by smtp.gmail.com with ESMTPSA id kq12-20020a056a004b0c00b006e6c81b6055sm8223720pfb.6.2024.04.22.12.44.59 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Mon, 22 Apr 2024 12:44:59 -0700 (PDT) Message-ID: <67624884-98ff-4dfc-a719-8671f1f9b2fd@gmail.com> Date: Mon, 22 Apr 2024 12:44:58 -0700 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: diffutils __pycache__ failure. To: Bruno Haible , Paul Eggert , bug-gnulib@gnu.org References: <20240421-125239.sv1871.186403@savannah.gnu.org> <06d7214b-1b29-44c2-9e79-ae1e68249691@gmail.com> <5593086.AgqYbqDuvN@nimes> Content-Language: en-US From: Collin Funk In-Reply-To: <5593086.AgqYbqDuvN@nimes> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Received-SPF: pass client-ip=2607:f8b0:4864:20::430; envelope-from=collin.funk1@gmail.com; helo=mail-pf1-x430.google.com X-Spam_score_int: -17 X-Spam_score: -1.8 X-Spam_bar: - X-Spam_report: (-1.8 / 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, FREEMAIL_ENVFROM_END_DIGIT=0.25, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-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 On 4/22/24 4:38 AM, Bruno Haible wrote: > 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 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. But the test is imperfect of course. 1 run, maybe Firefox was working very hard for one test and not the other, etc. :) Collin