(Bug1364703) Add caching to ArtefactType::get_plugin_name
Add caching of results to ArtefactType::get_plugin_name.
In a test export of 1000 users via admin/users/bulkexport.php,
this patch reduced the number of calls to get_field from 78,000
to 26 and reduced the execution time from 115 seconds to 92 seconds.
Reviewed: https:/ /reviews. mahara. org/3618 gitorious. org/mahara/ mahara/ commit/ 6bc4db12bcbcb71 d563946f650960e 478edd300a
Committed: http://
Submitter: Robert Lyon (<email address hidden>)
Branch: master
commit 6bc4db12bcbcb71 d563946f650960e 478edd300a
Author: Nigel Cunningham <email address hidden>
Date: Mon Aug 4 10:20:39 2014 +1000
(Bug1364703) Add caching to ArtefactType: :get_plugin_ name
Add caching of results to ArtefactType: :get_plugin_ name. bulkexport. php,
In a test export of 1000 users via admin/users/
this patch reduced the number of calls to get_field from 78,000
to 26 and reduced the execution time from 115 seconds to 92 seconds.
Change-Id: Ie7b2e39089bed1 c3cd4844748b21f 1ffb251f8dd
Signed-off-by: Nigel Cunningham <email address hidden>