summaryrefslogtreecommitdiff
path: root/pkgs/development/python-modules/python-mapnik/python-mapnik_std_optional.patch
diff options
context:
space:
mode:
authorSergei Trofimovich <slyich@gmail.com>2023-08-19 07:53:39 +0100
committerSergei Trofimovich <slyich@gmail.com>2023-08-19 08:39:13 +0100
commit8708ae0e37084d44dfc2d89e5d14731382f82236 (patch)
treeb6bcc4e0b05e72a85266a90b0c24f38acfd18269 /pkgs/development/python-modules/python-mapnik/python-mapnik_std_optional.patch
parent50a4d6349c0e6a3610608f23bd66b2d0aaa47d2f (diff)
bash: disable `bash-malloc` everywhere, not just on `musl`
TIme to time I bump into pathological behaviour of `bash` memory allocator. Today's example: $ time { ls /nix/store/ > /dev/null; } real 0m0,965s user 0m0,876s sys 0m0,087s $ time { echo /nix/store/* > /dev/null; } real 2m18,287s user 2m17,946s sys 0m0,125s $ time { echo /nix/store/* > /dev/null; } real 0m1,764s user 0m1,712s sys 0m0,048s Note how initial `echo` takes alsmot 2 minutes to finish. Let's rely on system's allocator instead. After the change initial run is fast again: $ time { echo /nix/store/* > /dev/null; } real 0m1,328s user 0m1,264s sys 0m0,063s
Diffstat (limited to 'pkgs/development/python-modules/python-mapnik/python-mapnik_std_optional.patch')
0 files changed, 0 insertions, 0 deletions