summaryrefslogtreecommitdiff
path: root/pkgs/development/python-modules/python-mapnik/python-mapnik_std_optional.patch
diff options
context:
space:
mode:
authorCasey Ransom <casey@dailykos.com>2021-06-21 22:58:07 -0400
committerCasey Ransom <casey@dailykos.com>2021-06-21 22:58:07 -0400
commitc3f28aed94ba37279d02b1de5eb15b8000754c5d (patch)
tree67437eb4d9950e2c61dc726d706e23330bc919da /pkgs/development/python-modules/python-mapnik/python-mapnik_std_optional.patch
parent09ee9f4c72d8b564bd6f3e26f1911404883a6a61 (diff)
make-disk-image: Reduce forking
The disk image calculator was using find + exec forking du for every file in the disk image, making it very slow. Change du to accept files, nul delimeted on stdin to speed it back up. Before change: nix-build nixos/tests/image-contents.nix 9.71s user 1.06s system 8% cpu 2:13.11 total After change: nix-build nixos/tests/image-contents.nix 9.93s user 1.23s system 21% cpu 51.601 total
Diffstat (limited to 'pkgs/development/python-modules/python-mapnik/python-mapnik_std_optional.patch')
0 files changed, 0 insertions, 0 deletions