Skip to content

Improve resolving references, cache loaded files in current context #13

Closed

Description

@cebe

To avoid multiple requests to the same file, loaded files can be cached in current context.

Activity

  1. cebe commented on Nov 22, 2018

    @cebe
    OwnerAuthor

    // TODO could be a good idea to cache loaded files in current context to avoid loading the same files over and over again

  2. coatesap commented on Dec 13, 2019

    @coatesap

    I have a feeling this lack of caching is the biggest performance burden when reading API files. As an experiment, I ran Speccy's resolve command over my API file first (which took ~1 sec). Using the resolved output from Speccy dropped the time of Reader::readFromYamlFile() down from 24 seconds to 10 seconds, which is fairly significant.

  3. added this to the 1.5.0 milestone on Mar 10, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

      Milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions