aboutsummaryrefslogtreecommitdiffstats
path: root/config_default
diff options
context:
space:
mode:
authorDan Fandrich <danf@mageia.org>2024-03-14 18:50:26 -0700
committerDan Fandrich <danf@mageia.org>2024-03-14 19:21:14 -0700
commitc9bb45ef0018eddbd0172f38db46a96e961a7bd1 (patch)
tree57051ac16ceb59d6b5e238e6e531c715aa6387ab /config_default
parentc9c5444f4f27f0a7375088a1cc0b4594742d8fe8 (diff)
downloadmgaadvisories-user/danf/osv.tar
mgaadvisories-user/danf/osv.tar.gz
mgaadvisories-user/danf/osv.tar.bz2
mgaadvisories-user/danf/osv.tar.xz
mgaadvisories-user/danf/osv.zip
Use multiprocessing in mksite for improved speeduser/danf/osv
This generates templated files using some parallelism, reducing the total mksite time to less than half in my tests. Increasing parallelism even further is possible, but would make the code harder to understand. The obvious technique of generating each templated file in its own process is actually far slower because the overhead of process creation dwarfs the time spent processing the template, which is on average very small and quick.
Diffstat (limited to 'config_default')
0 files changed, 0 insertions, 0 deletions