Save another 17 seconds off a 1000 user export by caching the value of $updated in LeapExportElementInternal's assign_smarty_vars function.

Bug #1364705 reported by Nigel Cunningham
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Mahara
Fix Released
Medium
Nigel Cunningham

Bug Description

This bug/patch lets us save another 17 seconds off a 1000 user export by caching the value of $updated in LeapExportElementInternal's assign_smarty_vars function.

Revision history for this message
Aaron Wells (u-aaronw) wrote :
Changed in mahara:
milestone: none → 1.10.1
status: New → In Progress
importance: Undecided → Medium
tags: added: optimization
tags: added: performance
removed: optimization
no longer affects: mahara/1.10
Aaron Wells (u-aaronw)
no longer affects: mahara/15.04
tags: added: no-behat-needed
Changed in mahara:
status: Confirmed → In Progress
no longer affects: mahara/15.10
Changed in mahara:
milestone: 16.04.0 → 16.10.0
Revision history for this message
Mahara Bot (dev-mahara) wrote : A change has been merged

Reviewed: https://reviews.mahara.org/3619
Committed: https://git.mahara.org/mahara/mahara/commit/106091ce27b569e152b3e3484e1870551b1e763a
Submitter: Aaron Wells (<email address hidden>)
Branch: master

commit 106091ce27b569e152b3e3484e1870551b1e763a
Author: Aaron Wells <email address hidden>
Date: Mon Aug 1 17:21:37 2016 +1200

Bug 1364705: Query only the artefacts of the user being exported

behatnotneeded: Can't test in Behat

Change-Id: I3dac42a4e5a08155e131bc45494b78a13c1417cd

Aaron Wells (u-aaronw)
Changed in mahara:
status: In Progress → Fix Committed
Robert Lyon (robertl-9)
Changed in mahara:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.