From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2 ([2001:41d0:2:bcc0::]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id cuaIM+oQcmBQRAEAgWs5BA (envelope-from ) for ; Sat, 10 Apr 2021 22:56:10 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2 with LMTPS id 0IZFLOoQcmABDQAAB5/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 6A5711E890 for ; Sat, 10 Apr 2021 22:56:10 +0200 (CEST) Received: from localhost ([::1]:43028 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lVKeH-0007iO-DF for larch@yhetil.org; Sat, 10 Apr 2021 16:56:09 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:40720) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lVKeA-0007dS-S3 for guix-patches@gnu.org; Sat, 10 Apr 2021 16:56:02 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:41884) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lVKeA-0004AX-K8 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-0002r3-JL 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.161808815110948 (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]:53429 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lVKdy-0002qP-Vs for submit@debbugs.gnu.org; Sat, 10 Apr 2021 16:55:51 -0400 Received: from eggs.gnu.org ([209.51.188.92]:47660) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lVKdx-0002q4-0m for 47251@debbugs.gnu.org; Sat, 10 Apr 2021 16:55:49 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]:50825) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lVKdo-0003x4-2Q; Sat, 10 Apr 2021 16:55:40 -0400 Received: from [2a01:e0a:1d:7270:af76:b9b:ca24:c465] (port=42170 helo=ribbon) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1lVKdD-0003CW-IZ; Sat, 10 Apr 2021 16:55:05 -0400 From: Ludovic =?UTF-8?Q?Court=C3=A8s?= References: <20210319001622.1c19ad41@tachikoma.lepiller.eu> <87r1jva3rj.fsf@gnu.org> Date: Sat, 10 Apr 2021 22:55:02 +0200 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") Message-ID: <8735vx272x.fsf_-_@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.2 (gnu/linux) 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=1618088170; 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=tMUCbuo278hv0A0ITLYvL5/HrhJ5yHq0FCxMhbHYOImigGpYoxHQv97uq9gGa+17PVQ0lq RlundHVsInqLRHAEdhnCM8hZKdByF9sUhbEixPZfZGiNNSuMryr/qtRCdJICzHniFAmwK5 VqmSsXlFbcwDhHQ1hpVr1K8NgVb3wTwBJM43HrP4KE2v5ex25wiWRJ7DkVwjQgUlxTA4NR Rx6dPwELPo9lbvxwxl6tzwMR9k5AGtvf5xhPQQUq5N6g9pzVpP2pjA5emin7gVXrm2Fihd bHspT6UiaRFZB1vzXdsQhG3eQXQLDqmVzR9nuw3VdoLCfjGgg0PZnRZ7BjOj1w== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1618088170; a=rsa-sha256; cv=none; b=uKwNPRwhnfrsWqh3W2HTo12BcnV5Xzu+xu8k10SgleHEI4MEXQYFyIP3E5orJiW/+s4r0H cv0SVz6M8dcNKOPWJSUDVPycseFgHzQDevVx/YyeYjWoAg/8WM4kV9DeHH1FL5RUXBctxe eogPMK4lJiwri1mpJ7OvjhVmF44IQnpUl0eIygKS5LvSuoXT2TmSlEFOmrasV1OrvI6HKD eP0kVQWEgN0bIxCjoqHl3fFhjN2155Ig0cEJTzUpUg1kCBmds3ZXb8CdvFEpEWt3/pGCml p+5Ms5cochziCRgL9TjbdAVR4JB2abXhFKemb/114qEZNK+c+JcArdJsdVKvcw== 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: 6A5711E890 X-Spam-Score: -2.94 X-Migadu-Scanner: scn0.migadu.com X-TUID: xvw0bjgOIw0N 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.