Reviewed:  https://reviews.mahara.org/3618
Committed: 
http://gitorious.org/mahara/mahara/commit/6bc4db12bcbcb71d563946f650960e478edd300a
Submitter: Robert Lyon ([email protected])
Branch:    master

commit 6bc4db12bcbcb71d563946f650960e478edd300a
Author: Nigel Cunningham <[email protected]>
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.
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.

Change-Id: Ie7b2e39089bed1c3cd4844748b21f1ffb251f8dd
Signed-off-by: Nigel Cunningham <[email protected]>

-- 
You received this bug notification because you are a member of Mahara
Contributors, which is subscribed to Mahara.
Matching subscriptions: Subscription for all Mahara Contributors -- please ask 
on #mahara-dev or mahara.org forum before editing or unsubscribing it!
https://bugs.launchpad.net/bugs/1364703

Title:
  Add caching of results to ArtefactType::get_plugin_name.

Status in Mahara ePortfolio:
  Fix Committed
Status in Mahara 15.10 series:
  Fix Committed

Bug description:
  Add caching of results to ArtefactType::get_plugin_name.

  In a test export of 1000 users via admin/users/bulkexport.php, the
  patch that goes with this bug reduced the number of calls to get_field
  from 78,000 to 26 and reduced the execution time from 115 seconds to
  92 seconds.

To manage notifications about this bug go to:
https://bugs.launchpad.net/mahara/+bug/1364703/+subscriptions

_______________________________________________
Mailing list: https://launchpad.net/~mahara-contributors
Post to     : [email protected]
Unsubscribe : https://launchpad.net/~mahara-contributors
More help   : https://help.launchpad.net/ListHelp

Reply via email to