Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Memoize result value in Utilities.getremote #1838

Merged
merged 1 commit into from
Jun 5, 2022
Merged

Commits on Jun 5, 2022

  1. Memoize result value in Utilities.getremote

    Utilities.getremote is called when figuring out the URL to methods while
    rendering the documentation. A profile of makedocs for Documenters docs
    showed that almost a third of the collected samples was inside
    getremote, and in particular in the spawned process to git. This patch
    memoizes the result of getremote (on a per-source-file basis). This
    should give noticeable improvements, since this function is often often
    called with the same argument.
    fredrikekre committed Jun 5, 2022
    Configuration menu
    Copy the full SHA
    ff385cf View commit details
    Browse the repository at this point in the history