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

Marcel de Rooy <m.de.r...@rijksmuseum.nl> changed:

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

--- Comment #4 from Marcel de Rooy <m.de.r...@rijksmuseum.nl> ---
Created attachment 73166
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=73166&action=edit
Bug 20377: Various speed tweaks to 'remove_unused_authorities.pl' script

Here is a patch to make 'remove_unused_authorities.pl' a bit faster
i get a 5x speedup after this patch

fyi: i pinched most of this patch from bulkmarcimport.pl

1/ import a bunch of authority record into a Koha, and index

2/ run script, note execution time
  $ time perl ./misc/migration_tools/remove_unused_authorities.pl
  real    0m50s

3/ apply patch

4/ run script again, and notice it's a bit faster
  $ time perl ./misc/migration_tools/remove_unused_authorities.pl
  real    0m10s

Signed-off-by: Brendan Gallagher <bren...@bywatersolutions.com>

Signed-off-by: Marcel de Rooy <m.de.r...@rijksmuseum.nl>

-- 
You are receiving this mail because:
You are watching all bug changes.
_______________________________________________
Koha-bugs mailing list
Koha-bugs@lists.koha-community.org
http://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/

Reply via email to