-
Notifications
You must be signed in to change notification settings - Fork 97
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
Antora preview performance issues #907
Comments
@ggrossetie a couple things I've seen in the code that might have an impact on performance.
|
I think we could potentially lazy load contents (i.e., load contents when we actually need it) but we need to retrieve all the files in order to build a "complete" content catalog. |
I was indeed referring to lazy loading the contents. The list of files is clearly needed for suggestions and completion. |
I think that's an excellent idea, feel free to submit a pull request to lazy load the contents |
I remember now, include processor must be synchronous in Asciidoctor. So we cannot use |
What I would consider:
|
Quite busy these days, but I'm not dropping the ball |
Preview update performance is excessively slow (minutes to update a preview on an M1 Pro mac when the source is changed) in large repos with many symlinks (e.g. for nx monorepos with react-native apps and libs).
Using the proposed APIs for findFiles greatly improves the situation, but until that API is finalized, it can only be used with code insiders and it cannot be used in an extension published to the marketplace.
The text was updated successfully, but these errors were encountered: