Skip to content

[performance] Investigate generating Organization and Repository objects vs. fetching from GitHubย #24

@shevron

Description

@shevron

See if we can instantiate these objects based on data we already have (the org name and package ID) instead of fetching them from GitHub via API. This can reduce a lot of repeating calls in a bunch of different methods.

Both objects have the ability to "lazy-fetch themselves" ("complete") from GitHub if a property of them that was not pre-populated is needed, so this technique can probably work and be harmless, but we should still see if it can be done and if it can actually improve performance, or are we going to call __complete in any case regardless, and then the added complexity is not worth it.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions