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

--- Comment #14 from Julian Maurice <[email protected]> ---
I ran the attached benchmark script in 3 different scenario:
1) master (c6fa96eeca)
2) with the patch, with 2 plugins, 1 enabled but without the object_store_*
hooks, 1 with both hooks but disabled. 
3) same as 2, but with both plugins enabled

The code inside object_store_* hooks was very simple (1 call to $object->_type
and 1 call to $object->make_column_dirty)

1) The time per `store` call is between 91µs and 104µs
2) The time per `store` call is between 98µs and 110µs
3) The time per `store` call is between 104µs and 115µs

There is a noticeable slowdown, which is expected.
I think 10µs per call is negligible if we only have a few store calls per http
request, but I don't know how many store calls we have on a typical request.
Does anyone know ?

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