On Thu, Jun 15, 2023 at 12:02 AM Joshua Kinard wrote:
Options? I mean, if anyone knows magic to make gcc build faster, I
am all ears, but ever since the switch to
> C++, the time needed for it to build itself has just been absolutely
> horrendous. And it gets worse with each
> new release, for
Noticing that the ebuild for gcc-12.3.0 got dropped with little explanation. It is the upstream stable
release. I am eyeballing #906310 as what may have triggered the drop, but I find it a bit of a stretch that
an upstream stable release got dropped over a single, optional package that has a
On Tue, Jun 13, 2023 at 05:00:16PM +, Andrey Grozin wrote:
> Hi *,
>
> My key was going to expire soon. So, as usual, I have prolonged it for the
> next year (several days ago). I've sent it to the Gentoo keyserver. I've
> checked that the fingerpring of my key in LDAP coinsides with the
>
Suggested by Eli Schwartz. This gives roughly 5260 ops / s, over 550%
speedup.
The complete patch series therefore increases the speed from roughly
326 ops / s to 5260 ops / s, making the common case 16 times faster.
Closes: https://bugs.gentoo.org/908411
Closes: https://github.com/gentoo/gentoo
Introduce an internal helper for _pypi_sdist_url that doesn't require
subshell, and therefore eliminate all subshells from global scope.
We're nearing 952 ops / s, further 39% speedup.
Signed-off-by: Michał Górny
---
eclass/pypi.eclass | 53 +-
1 file
Provide an internal helper to normalize names without a subshell.
This gives 535 ops / s, so a further 44% speedup.
Signed-off-by: Michał Górny
---
eclass/pypi.eclass | 39 +++
1 file changed, 27 insertions(+), 12 deletions(-)
diff --git a/eclass/pypi.eclass
Provide an internal helper to translate versions without a subshell,
and use it in the common case. Now the benchmark gives 685 ops / s,
which means it's another 28% speedup.
Signed-off-by: Michał Górny
---
eclass/pypi.eclass | 33 ++---
1 file changed, 22 insertions
Instead of translating version two times, once in pypi_sdist_url
and then when setting S, do it once and store the result. This gives
roughly 371 ops / s, i.e. a 13% speedup.
Signed-off-by: Michał Górny
---
eclass/pypi.eclass | 10 ++
1 file changed, 6 insertions(+), 4 deletions(-)
dif
The benchmark yield roughly 327 ops / s on my machine.
Signed-off-by: Michał Górny
---
eclass/tests/pypi-bench.sh | 65 ++
1 file changed, 65 insertions(+)
create mode 100755 eclass/tests/pypi-bench.sh
diff --git a/eclass/tests/pypi-bench.sh b/eclass/tests/p
Signed-off-by: Michał Górny
---
eclass/pypi.eclass | 22 +++---
1 file changed, 15 insertions(+), 7 deletions(-)
diff --git a/eclass/pypi.eclass b/eclass/pypi.eclass
index 13dd56fa4fec..732b0c6184ef 100644
--- a/eclass/pypi.eclass
+++ b/eclass/pypi.eclass
@@ -221,12 +221,20 @@ py
Hi,
Only small changes:
1) added more test cases to the benchmark and improved the logic
to generate readable output
2) switched extglob logic to the more readable version suggested by ulm
(decided to do it after all)
Michał Górny (7):
pypi.eclass: Move setting globals to a function
"eshopts_push -s autocd; eshopts_pop" (i.e. the first option listed
by "shopt -p") would not restore the option because of bogus whitespace
in the saved string.
Signed-off-by: Ulrich Müller
---
eclass/estack.eclass | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/eclass/es
12 matches
Mail list logo