aboutsummaryrefslogtreecommitdiffstats
path: root/README
diff options
context:
space:
mode:
authorDan Fandrich <danf@mageia.org>2024-03-14 18:50:26 -0700
committerDan Fandrich <danf@mageia.org>2024-03-19 20:01:16 -0700
commitfe405b428456decd6fed841fd6de6b8e09e73e55 (patch)
tree01b4780695dee0f7a55f70cdcc2a5d6c14141586 /README
parentc9c5444f4f27f0a7375088a1cc0b4594742d8fe8 (diff)
downloadmgaadvisories-fe405b428456decd6fed841fd6de6b8e09e73e55.tar
mgaadvisories-fe405b428456decd6fed841fd6de6b8e09e73e55.tar.gz
mgaadvisories-fe405b428456decd6fed841fd6de6b8e09e73e55.tar.bz2
mgaadvisories-fe405b428456decd6fed841fd6de6b8e09e73e55.tar.xz
mgaadvisories-fe405b428456decd6fed841fd6de6b8e09e73e55.zip
Use multiprocessing in mksite for improved speed
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 'README')
0 files changed, 0 insertions, 0 deletions