-
-
Notifications
You must be signed in to change notification settings - Fork 14.2k
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
Manual page validation & generation is getting too slow #17261
Comments
Maybe using GNU parallel: https://www.gnu.org/software/parallel/parallel_tutorial.html |
Generally changing the system configuration should not trigger a rebuild of the manual (so the manual/manpages will be fetched from the binary cache). If that does happen, it's usually caused by something like an option default depending on an option value. |
Ah, this is for developers & patchers of course. Everyone who defines new options. I think the time of those people is extremely important as well, if not more (otherwise nobody likes to define new options anymore). |
This prevents gratuitous rebuilds of the manual every time the Git revision changes. Should help a bit with #17261.
I’d still like to see a solution to this, but wasn’t annoyed enough yet to start working on it. |
Thank you for your contributions. This has been automatically marked as stale because it has had no activity for 180 days. If this is still important to you, we ask that you leave a comment below. Your comment can be as simple as "still important to me". This lets people see that at least one person still cares about this. Someone will have to do this at most twice a year if there is no other activity. Here are suggestions that might help resolve this more quickly:
|
Will hopefully fixed by the new manual format in the near future. |
@Profpatsch Could you provide a reference to that? |
… On Mon, Jun 8, 2020 at 11:45 PM Marius Bergmann ***@***.***> wrote:
@Profpatsch <https://github.com/Profpatsch> Could you provide a reference
to that?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#17261 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAYB5ZQSUHHSV3QCC2K5NN3RVVLWLANCNFSM4CKSMOVA>
.
|
With the current amount of configuration options the system rebuild process is approaching unbearably long times (10+s on my CPU from 2007).
With the amount of options growing exponentially this is going to be a serious problem quite soon.
I noticed
xsltproc
only uses one core for validation, so a big speedup is trivialy achievable. Sadly,xsltproc
doesn’t support multithreading, but the manual generation should be easily paralellizable, by splitting the manual sections up in single derivations.Maybe even one for each nix module file, that would also lead to the manual not completely rebuilding on every change to an option.
The text was updated successfully, but these errors were encountered: