diff options
author | Dan Fandrich <danf@mageia.org> | 2024-03-14 18:50:26 -0700 |
---|---|---|
committer | Dan Fandrich <danf@mageia.org> | 2024-03-19 20:01:16 -0700 |
commit | fe405b428456decd6fed841fd6de6b8e09e73e55 (patch) | |
tree | 01b4780695dee0f7a55f70cdcc2a5d6c14141586 /NEWS | |
parent | c9c5444f4f27f0a7375088a1cc0b4594742d8fe8 (diff) | |
download | mgaadvisories-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 'NEWS')
-rw-r--r-- | NEWS | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -4,6 +4,7 @@ Version X - use https: links where possible - add 'showjson' command to output an advisory in OSV JSON format - have 'mksite' write JSON output files as well +- 'mksite' now runs twice as fast Version 0.27 |