-
Notifications
You must be signed in to change notification settings - Fork 2
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
Slow collection builds and caching build mid-stage dependencies (documents already compiled) #944
Comments
We already have the capacity to do this: if the collection spec files name .xml files and not .adoc files, and those files have already been compiled in the place it is looking for them, it will not recompile them. We've already done this for ISO-10303. |
I spent three weeks optimising collection compilation, and got a factor of two speedup. There will not be another comparable optimisation. The main optimisation on the horizon is the removal of the duplicate Semantic XML, which is dependent on the refactoring I am now doing. |
thank you both for the discussion. in my understanding the collection is something generated for a final deliverable. would there be a way to turn it off -- stop it from being generated on every PR, and only turn it on when your document is ready for a final deliverable? perhaps a switch can be added to the |
It is much more complex than that, as the collection build file is completely separate to the document build file. It is very far from a simple one-line change: collections are a COMPLETELY different artefact. It was @ronaldtse ’s decision to switch to collection processing for Plateau, and I am obligated to refer you to him for any changes to that build file. |
hello @opoudjis thank you for the additional comment. the collection artifact was not produced in a recent (Dec 23rd/24th) github generate of the document. i think that is correct, (as i mentioned earlier) i dont see a reason for generating the collection artifact when the document content is deep in draft revisions. it was adding significant processing time to the generate of the document. when the collection is requred there should be a way to either turn on generation of that output or even a separate sources folder/document.adoc file to use may work reasonably well. happy to discuss my comments more with @ronaldtse if helpful. for the current plateau work, i am not seeing a requirement for collection functionality, but perhaps i am unclear on the benefits of that functionality. |
I think in another issue (I had a backlog of 900 of them), @ronaldtse has already temporarily disabled collection processing in Plateau, so this is a non-issue for now, and collections will indeed only be brought back once the document is finalised, and ready to be passed to Firelight. @ronaldtse could you confirm? I can't even find the issue any more. In which case, this issue is already resolved. |
@opoudjis i am totally on-board with your reasoning on this and the current settings that have been implemented at this time, at least in my project. thank you. |
From @ReesePlews:
There are 2 issues here:
The first question is for @opoudjis .
The second is for @opoudjis and also @CAMOBAP (if this is possible).
Thanks!
The text was updated successfully, but these errors were encountered: