Skip to content

Better understanding transitive sizes #14

Closed
@wmertens

Description

@wmertens

Would it be possible to track 3 sizes: the package size and closure size like now, and the "single-owner" closure size?

Right now, if two packages depend on the same thing, the ownership is muddled. So I wonder if it would be more obvious if we could see the closure size of things that are not shared with other closures at the same or closer distance from the root?

Given this tree:

A -> D
B -> D
C -> A, E
D
E -> D
F -> A,C
root -> F,B

the sizes would be

pkg size closure single-owner
A A AD 0
B B BD B
C C ACDE E
D D D 0
E E ED 0
F F ACDEF ACEF
root 0 ABCDEF ABCDEF

This would show us that F is the biggest package, and while C has a big closure, removing it will only remove E

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions