1 |
On 04/23/2013 01:27 PM, Tom Wijsman wrote: |
2 |
> Maybe the question is rather why `repoman` takes 15 seconds on a quite |
3 |
> fast system in a package folder that contains 2 ebuilds and 1 metadata. |
4 |
> |
5 |
> See the call graph for repoman at http://i.imgur.com/OQTUBdR.png. |
6 |
> |
7 |
> A third of the time, ~5 seconds, are spent on 60,000 - 70,000 calls to |
8 |
> the function that is listed in the bottom; but the ebuilds barely |
9 |
> list any dependencies. Why are there so much calls to this? |
10 |
|
11 |
There's lots of redundant repetition involved in repoman's iteration |
12 |
over the profiles listed in profiles.desc. It may be possible to |
13 |
optimize away the redundancy by taking advantage of all the things that |
14 |
each of the profiles have in common. |
15 |
-- |
16 |
Thanks, |
17 |
Zac |