GNU bug report logs -
#47251
[core-updates] [patch] gnu: python: Enable optimizations.
Previous Next
Reported by: Julien Lepiller <julien <at> lepiller.eu>
Date: Thu, 18 Mar 2021 23:17:01 UTC
Severity: normal
Tags: patch
Done: Julien Lepiller <julien <at> lepiller.eu>
Bug is archived. No further changes may be made.
Full log
View this message in rfc822 format
Hi Julien,
Julien Lepiller <julien <at> lepiller.eu> skribis:
>>From c72e34aa0eb0db589557e047c5db0128273d5d12 Mon Sep 17 00:00:00 2001
> From: Julien Lepiller <julien <at> lepiller.eu>
> 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 flags 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
‘core-updates’, we’re already stripping ELF binaries a bit more than on
‘master’.
What does ‘size …/bin/python’ say? Could it be there’s GIMPLE left in
the executable or in libpython.so as a result of using -flto?
Thanks,
Ludo’.
This bug report was last modified 4 years and 41 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.