patch_gen updateProduct - utilise uniquement une seule CPU #36
Labels
No labels
Bug
CI/CD
Client
Client
Development
Documentation
Documentation
Enhancement
Epic
Feature
Fonctionnalité
Graphisme
Interface
Leveldesign
Organisation
Production
Ready
Serveur
Sound design
SysAdmin
test
Testing
Traduction
Triage
Upstream
User story
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: Khaganat-NeL/khanat-opennel-code#36
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
le programme patch_gen (commande "patch_gen updateProduct") n'utilise qu'une seule CPU pour générer les fichiers patch.
Cela prend énormément de temps, il serait souhaitable d'avoir la possibilité d'utiliser toutes les CPU pour cette opération.
Solution possible:
Séparer les différentes étapes : un programme qui s'occupe que de controle/effectue la différence avec un fichier des fichiers (facilement exécutabel en // avec des fichiers différents), et un autre qui s'occupe de l'aggrégation.
Avoir un programme qui se fork pour la partie compilation/xdelta
Exemple d'une partie parallélisable
--- compilation/xdelta du kh_characters_shapes_00001.bnp ---
INF dcd82740 patch_gen_common.cpp 71 ApplyPatch : Executing system command: xdelta patch patch_game/patch/00001/kh_characters_shapes_00001.patch patch_game/empty patch_game/ref/kh_characters_shapes_00001.bnp
INF dcd82740 patch_gen_common.cpp 87 GenerateLZMA : Compressing patch_game/bnp/kh_construction.bnp to patch_game/patch/00001/kh_construction.bnp.lzma.tmp using LZMA...
DBG dcd82740 seven_zip.cpp 262 packLZMA : packLZMA: compress 'patch_game/bnp/kh_construction.bnp' to LZMA file 'patch_game/patch/00001/kh_construction.bnp.lzma.tmp
INF dcd82740 patch_gen_common.cpp 393 generatePatches : - Creating patch: patch_game/patch/00001/kh_construction_00001.patch
INF dcd82740 patch_gen_common.cpp 54 GeneratePatch : Executing system command: xdelta delta patch_game/empty patch_game/bnp/kh_construction.bnp patch_game/patch/00001/kh_construction_00001.patch
changed the description
made the issue confidential
changed the description
made the issue visible to everyone
added ~3 ~33 labels
mentioned in commit
8091bc8fb1