From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2 ([2001:41d0:8:6d80::]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id iDBcHeoQcmDZQwEAgWs5BA (envelope-from ) for ; Sat, 10 Apr 2021 22:56:10 +0200 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2 with LMTPS id IDQhF+oQcmCrCQAAB5/wlQ (envelope-from ) for ; Sat, 10 Apr 2021 20:56:10 +0000 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 aspmx1.migadu.com (Postfix) with ESMTPS id DF3F12ADA8 for ; Sat, 10 Apr 2021 22:56:07 +0200 (CEST) Received: from localhost ([::1]:42874 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lVKeF-0007eG-34 for larch@yhetil.org; Sat, 10 Apr 2021 16:56:07 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:40718) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lVKeA-0007ck-GS for guix-patches@gnu.org; Sat, 10 Apr 2021 16:56:02 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:41883) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lVKeA-0004AR-7E for guix-patches@gnu.org; Sat, 10 Apr 2021 16:56:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1lVKeA-0002qv-6P for guix-patches@gnu.org; Sat, 10 Apr 2021 16:56:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#47251] [core-updates] [patch] gnu: python: Enable optimizations. Resent-From: Ludovic =?UTF-8?Q?Court=C3=A8s?= Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sat, 10 Apr 2021 20:56:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 47251 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: Julien Lepiller Cc: 47251@debbugs.gnu.org Received: via spool by 47251-submit@debbugs.gnu.org id=B47251.161808815110940 (code B ref 47251); Sat, 10 Apr 2021 20:56:02 +0000 Received: (at 47251) by debbugs.gnu.org; 10 Apr 2021 20:55:51 +0000 Received: from localhost ([127.0.0.1]:53427 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lVKdy-0002qM-OO for submit@debbugs.gnu.org; Sat, 10 Apr 2021 16:55:50 -0400 Received: from eggs.gnu.org ([209.51.188.92]:47656) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lVKdw-0002q3-R2 for 47251@debbugs.gnu.org; Sat, 10 Apr 2021 16:55:49 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]:50828) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lVKdq-0003ya-1a; Sat, 10 Apr 2021 16:55:42 -0400 Received: from [2a01:e0a:1d:7270:af76:b9b:ca24:c465] (port=42172 helo=ribbon) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1lVKdg-0003IR-Sh; Sat, 10 Apr 2021 16:55:39 -0400 From: Ludovic =?UTF-8?Q?Court=C3=A8s?= In-Reply-To: <87r1jva3rj.fsf@gnu.org> ("Ludovic =?UTF-8?Q?Court=C3=A8s?="'s message of "Wed, 31 Mar 2021 14:47:44 +0200") References: <20210319001622.1c19ad41@tachikoma.lepiller.eu> <87r1jva3rj.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.2 (gnu/linux) Date: Sat, 10 Apr 2021 22:55:31 +0200 Message-ID: <871rbh2724.fsf_-_@gnu.org> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+larch=yhetil.org@gnu.org Sender: "Guix-patches" X-Migadu-Flow: FLOW_IN ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1618088168; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding:resent-cc: resent-from:resent-sender:resent-message-id:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post; bh=TV1hbVcvLq0f/lhCdBhWiEl151WAg1Be+uGjXhBTDq0=; b=OrU+XHbRvOAZgeTP+2jzbQNkssBSDdR8Oodldq6mRhx8+4A7Y1jZVBSCs6k1o7xwgguWor 8I57xOHIes1B3sF1ifUL8EK85KtT8tO2xxVHS+AVEk8ePwPerNbarrK23q2vk+TA+uIl0q EOVjyBZIYuQTjNIfPRzoN5YDScGXFRYTmywKR4IEdPqXCTLRp+JP2fn9a97zlWogZvwIMs V5DvGUFQLTGoVbTiv/5ustYb+WrkGaCfDkpsjdu9BqnkbL9seuPacvxO37phbcJqxIuPk6 YRwRh/oBrn3dmtDRDOa/NGlp5Xihd7vRCgOtAr1liHNtbRCG7+a7zohijIpD0Q== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1618088168; a=rsa-sha256; cv=none; b=lSAbrAxgN2dnDY9iSNVvJP+l9VaslN2vZRPto5YaNRuLWIJMC+7MqpduqX8lSnA6o2tOhj jvc435Y4ZDwiPeT5xKgQrUqxHVAu1lOim8ruafM65HJNCCWAPTySoGNwL6faKgumwUrd0q Zcw09GvvCoy7sC1Q6QgP4AZzz95uvZDdkPojaki2eL9IvQqKOvTgzrX6RUSEbg+XxlpSde BcX9eoV6za4/20jkXDNmtLNPG7/40xXpeRS6X5XLHHe0n/WnszwJPlFG/5iO0/HDNIVwmp Fo86vX9ufwL8jODE3Gw4oWAPBpWxJraWdru3koI39RRxlw+h9/KNcA/sa4d7Ig== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=none; dmarc=pass (policy=none) header.from=gnu.org; spf=pass (aspmx1.migadu.com: domain of guix-patches-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=guix-patches-bounces@gnu.org X-Migadu-Spam-Score: -2.94 Authentication-Results: aspmx1.migadu.com; dkim=none; dmarc=pass (policy=none) header.from=gnu.org; spf=pass (aspmx1.migadu.com: domain of guix-patches-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=guix-patches-bounces@gnu.org X-Migadu-Queue-Id: DF3F12ADA8 X-Spam-Score: -2.94 X-Migadu-Scanner: scn0.migadu.com X-TUID: 5bbBN4whLCgR Ping! :-) Ludovic Court=C3=A8s skribis: > Hi Julien, > > Julien Lepiller skribis: > >>>>>From c72e34aa0eb0db589557e047c5db0128273d5d12 Mon Sep 17 00:00:00 2001 >> From: Julien Lepiller >> Date: Thu, 18 Mar 2021 23:41:40 +0100 >> Subject: [PATCH 2/2] gnu: python: Enable optimizations. >> >> As a result, python execution time of scripts is decreased by 6 to 40%. >> >> gnu/packages/python (python-2.7)[arguments]: Add configure and make flag= s to >> optimize the resulting python. > > LGTM! Great that you found about these options. > > I wonder what can be done to reduce the package size. On > =E2=80=98core-updates=E2=80=99, we=E2=80=99re already stripping ELF binar= ies a bit more than on > =E2=80=98master=E2=80=99. > > What does =E2=80=98size =E2=80=A6/bin/python=E2=80=99 say? Could it be t= here=E2=80=99s GIMPLE left in > the executable or in libpython.so as a result of using -flto? > > Thanks, > Ludo=E2=80=99.