redocly-vs-code icon indicating copy to clipboard operation
redocly-vs-code copied to clipboard

Performance issue on medium size project

Open unional opened this issue 3 months ago • 3 comments

What happened?

My project has 30 paths and the parameters, responses, schema, are seperated into individual files.

Whenever I add a new file, currently the $ref takes 5 sec+ to show up.

What should have happened instead?

Adding, renaming, or removing files should only affect a single entry, not causing the whole cache to drop and rebuild. And the rebuild likely shouldn't take that long

Minimal reproducible OpenAPI snippet

If possible, include a short example of your OpenAPI definition that we can use to simulate the problem.

Screenshots

If applicable, add screenshots to help explain your problem.

Additional context

Add any other information about the problem here, like: the extension version number; OpenAPI version you're using in your definition; your operating system.

MacOS on Macbook M1 Pro, OpenAPI 3.0, Redocly extension 0.4.4

unional avatar Apr 08 '24 18:04 unional