| Summary: | Increase performance of debian/list-deps script | ||
|---|---|---|---|
| Product: | Koha | Reporter: | Mason James <mtj> |
| Component: | Packaging | Assignee: | Mason James <mtj> |
| Status: | CLOSED FIXED | QA Contact: | Testopia <testopia> |
| Severity: | normal | ||
| Priority: | P5 - low | CC: | aleisha, jonathan.druart, lucas, martin.renvoize, mtj, tomascohen |
| Version: | Main | ||
| Hardware: | All | ||
| OS: | All | ||
| GIT URL: | Initiative type: | --- | |
| Sponsorship status: | --- | Comma delimited list of Sponsors: | |
| Crowdfunding goal: | 0 | Patch complexity: | --- |
| Documentation contact: | Documentation submission: | ||
| Text to go in the release notes: | Version(s) released in: |
20.11.00, 20.05.03
|
|
| Circulation function: | |||
| Attachments: |
Bug 25889: Increase performance of debian/list-deps script
Bug 25889: Increase performance of debian/list-deps script Bug 25889: Increase performance of debian/list-deps script |
||
|
Description
Mason James
2020-06-29 01:35:13 UTC
Created attachment 106370 [details] [review] Bug 25889: Increase performance of debian/list-deps script to test... (on a i7-2600 vm with 8 cores) 1/ run script, note execution time $ time ./debian/update-control real 8m5.000s 2/ copy old file $ cp ./debian/control control.old 3/ apply patch 4/ run updated script, note execution time is smaller $ time ./debian/update-control real 2m14.000s 5/ copy new file $ cp ./debian/control control.new 6/ confirm old and new control files are identical $ diff control.old control.new | wc -l 0 The difference is not as good for me (4x) but it's better with the pach real 5m35.517s real 7m10.086s Created attachment 107345 [details] [review] Bug 25889: Increase performance of debian/list-deps script to test... (on a i7-2600 vm with 8 cores) 1/ run script, note execution time $ time ./debian/update-control real 8m5.000s 2/ copy old file $ cp ./debian/control control.old 3/ apply patch 4/ run updated script, note execution time is smaller $ time ./debian/update-control real 2m14.000s 5/ copy new file $ cp ./debian/control control.new 6/ confirm old and new control files are identical $ diff control.old control.new | wc -l 0 Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org> Skipping QA. Pushed to master for 20.11, thanks to everybody involved! backported to 20.05.x for 20.05.03 enhancement, not backported to 19.11.x |