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

--- Comment #18 from Jacek Ablewicz <[email protected]> ---
For some reason, deep copying of MARC frameworks structures with clone() is
insanely slow:

- clone() from the Clone module: 62 ms !!!
- clone() from Clone::Fast: 21 ms
- Storable dclone(): 16.9 ms
- Storable thaw(freeze()): 17.0 ms
- fetching framework from DB directly (caching disabled in GetMarcStructure()):
36.6 ms

If I replace clone() with Storable dclone() in Koha::Cache, search speed is
back to normal. Well, almost - looks like fetching the framework directly from
L2 cache is still faster (12.8 ms, L2 = memcache) then getting a clone from L1
cache.

-- 
You are receiving this mail because:
You are watching all bug changes.
_______________________________________________
Koha-bugs mailing list
[email protected]
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