Am 23.05.2020 um 23:46 schrieb Daniel Pielmeier:
Hm correct me if I am wrong, but from looking at the patch Zac provided I think he meant that the time portage consumes is only one second while the "rest" is 3.2 seconds. So there is probably a potential in improving the "rest" somehow.
Yes and no. The difference between the python and bash version is roughly 2 seconds. One second for importing portage (which Zac patched away) and another second for the rest of the portage stuff. So using the portage API adds two additional seconds.
The python version needs 3.2 seconds on my system. As said the portage API (or better calling the portage API) consumes ~2 seconds. As this is the most time intense part the question is if there is a way to optimize this.
Hope this is more clearly. I had fun anyway :) regards Daniel