nixpkgs/nixos/lib/make-options-doc
pennae 81cf173256 nixos-render-docs: use multiprocessing for options
options processing is pretty slow right now, mostly because the
markdown-it-py parser is pure python (and with performance
pessimizations at that). options parsing *is* embarassingly parallel
though, so we can just fork out all the work to worker processes and
collect the results.

multiprocessing probably has a greater benefit on linux than on darwin
since the worker spawning method darwin uses is less efficient than
fork() on linux. this hasn't been tested on darwin, only on linux, but
if anything darwin will be faster with its preferred method.
2023-02-18 13:17:57 +01:00
..
default.nix nixos-render-docs: use multiprocessing for options 2023-02-18 13:17:57 +01:00
generateDoc.py nixos/make-options-doc: skip re-escaping strings 2023-01-08 08:52:17 +00:00
mergeJSON.py nixos/make-options-doc: split docbook conversion from mergeJSON 2023-01-26 00:32:56 +01:00
postprocess-option-descriptions.xsl