3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/nixos/lib
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
..
make-options-doc nixos-render-docs: use multiprocessing for options 2023-02-18 13:17:57 +01:00
test-driver nixos/test-driver: handle decoding errors in Machine.execute 2023-02-07 08:47:14 +01:00
testing nixos/lib/testing: set default timeout for VM tests 2023-02-16 19:17:53 +03:00
default.nix
eval-cacheable-options.nix
eval-config-minimal.nix
eval-config.nix
from-env.nix
make-channel.nix channel: add --show-trace to nix-env command 2023-02-03 23:02:47 +00:00
make-disk-image.nix nixos/lib/make-disk-image: docs, UEFI vars recording, more determinism 2022-12-24 19:15:29 +01:00
make-ext4-fs.nix
make-iso9660-image.nix
make-iso9660-image.sh
make-multi-disk-zfs-image.nix
make-single-disk-zfs-image.nix
make-squashfs.nix
make-system-tarball.nix
make-system-tarball.sh
qemu-common.nix
systemd-lib.nix lib.replaceChars: warn about being a deprecated alias 2022-12-15 22:25:51 +02:00
systemd-types.nix
systemd-unit-options.nix nixos/doc: fix some manpage references 2023-01-03 14:03:35 +01:00
test-script-prepend.py
testing-python.nix nixos/testing-python.nix: Help users who need specialArgs 2022-12-23 18:41:52 +01:00
utils.nix lib.replaceChars: warn about being a deprecated alias 2022-12-15 22:25:51 +02:00