[Koha-bugs] [Bug 25889] Increase performance of debian/list-deps script

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Mon Jun 29 04:10:47 CEST 2020


https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=25889

Mason James <mtj at kohaaloha.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
 Attachment #106369|0                           |1
        is obsolete|                            |

--- Comment #2 from Mason James <mtj at kohaaloha.com> ---
Created attachment 106370
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=106370&action=edit
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

-- 
You are receiving this mail because:
You are watching all bug changes.


More information about the Koha-bugs mailing list