← Back to team overview

mahara-contributors team mailing list archive

[Bug 1364703] [NEW] Add caching of results to ArtefactType::get_plugin_name.

 

Public bug reported:

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.

** Affects: mahara
     Importance: Undecided
     Assignee: Nigel Cunningham (nigelc-g)
         Status: In Progress

** Changed in: mahara
       Status: New => In Progress

** Changed in: mahara
     Assignee: (unassigned) => Nigel Cunningham (nigelc-g)

-- 
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:
  In Progress

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


Follow ups

References