[Koha-bugs] [Bug 16221] New: Use Storable::dclone() instead of Clone::clone() for L1 cache deep-copying mode

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Thu Apr 7 10:26:22 CEST 2016


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

            Bug ID: 16221
           Summary: Use Storable::dclone() instead of Clone::clone() for
                    L1 cache deep-copying mode
 Change sponsored?: ---
           Product: Koha
           Version: master
          Hardware: All
                OS: All
            Status: NEW
          Severity: enhancement
          Priority: P5 - low
         Component: Architecture, internals, and plumbing
          Assignee: gmcharlt at gmail.com
          Reporter: abl at biblos.pk.edu.pl
        QA Contact: testopia at bugs.koha-community.org

Storable dclone() is over 3x faster then Clone::clone() when used for creating
a deep copies of the big, complex data structures like MARC frameworks. See
also Bug 16044 comments #18 & #20.

This is a trivial version of Bug 16166. Performance test results (see Bug 16140
comment #23 for test setup description):

# master
146.29 (14.64+14.53+14.51+14.57+14.72+14.56+14.53+15.06+14.56+14.61)

# master + patch from this bug report
96.5 (9.77+9.63+9.77+9.77+9.68+9.05+9.68+9.83+9.63+9.69)

# master + Bug 16166
90.7 (9.15+9.10+9.16+8.41+9.19+9.19+9.11+9.19+9.02+9.18)

Bug 16166 is a bit faster and more comprehensive implementation, but also more
complex and harder to test/evaluate.

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


More information about the Koha-bugs mailing list