[koha-commits] main Koha release repository branch master updated. v16.05.00-322-g62f4e6b

Git repo owner gitmaster at git.koha-community.org
Mon Jul 11 23:29:08 CEST 2016


This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "main Koha release repository".

The branch, master has been updated
       via  62f4e6bed2b74f1bc66a8aa0a32ba80263ae30f8 (commit)
       via  2b39cc7fffbc0376190bf4b53fd70085dc5df03f (commit)
      from  fa70b5b4c705aa671e1ec57a3509f6372917f808 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commit 62f4e6bed2b74f1bc66a8aa0a32ba80263ae30f8
Author: Jacek Ablewicz <abl at biblos.pk.edu.pl>
Date:   Tue Apr 26 09:04:17 2016 +0200

    Bug 16166: Fix t/Cache.t tests
    
    Thou shalt not forget to include changes made in the t/Cache.t
    in the patch set.
    
    Signed-off-by: Jonathan Druart <jonathan.druart at bugs.koha-community.org>
    
    Signed-off-by: Kyle M Hall <kyle at bywatersolutions.com>
    
    Signed-off-by: Jesse Weaver <jweaver at bywatersolutions.com>

commit 2b39cc7fffbc0376190bf4b53fd70085dc5df03f
Author: Jacek Ablewicz <abl at biblos.pk.edu.pl>
Date:   Tue Apr 26 08:43:12 2016 +0200

    Bug 16166: Improve L1 cache performance and safety
    
    Bug 16044 introduced two-level caching mechanism to Koha::Cache. By
    default, get_from_cache() returns a deep copy of the data structures
    stored in L1 cache (aka "safe mode"). For extremely big and/or complex
    data structures (like MARC framework hash-of-hashes-of-hashes returned
    by GetMarcStructure() ), deep-cloning is currently sub-optimal;
    this patch addresses that particular issue. It also provides an
    ability to intermix "safe" and "unsafe" cache feches, in such
    way that they don't interfere with each other (i.e., eliminating
    the risk involved with "unsafe" calls possibly compromising
    further "safe" calls).
    
    Test plan:
    
    1) apply patch
    2) flush L2 cache if necessary (restart memcached daemon)
    3) profile GetMarcStructure() calls before / after patch, e.g. by
    running some script which calls it often (like catalogue search
    w/ XSLT processing turned on, etc.) - GetMarcStructure() should be
    faster than before, in all possible circumstances (eg. 18 msec
    per call -> 10 msec p/call)
    4) after testing, before returning to the master branch, flush L2 cache
    again (restart memcached daemon) - otherwise all system preferences
    returned from L2 cache would be suffixed with '-CF0'
    
    Signed-off-by: Jonathan Druart <jonathan.druart at bugs.koha-community.org>
    
    Signed-off-by: Kyle M Hall <kyle at bywatersolutions.com>
    
    Signed-off-by: Jesse Weaver <jweaver at bywatersolutions.com>

-----------------------------------------------------------------------

Summary of changes:
 Koha/Cache.pm |   77 +++++++++++++++++++++++++++++++++++----------------------
 t/Cache.t     |   15 +++++------
 2 files changed, 53 insertions(+), 39 deletions(-)


hooks/post-receive
-- 
main Koha release repository


More information about the koha-commits mailing list