← Back to team overview

mahara-contributors team mailing list archive

[Bug 1353802] A change has been merged

 

Reviewed:  https://reviews.mahara.org/3610
Committed: http://gitorious.org/mahara/mahara/commit/4bd9d4930153eef45cbebcc84ea07deee62a7345
Submitter: Robert Lyon (robertl@xxxxxxxxxxxxxxx)
Branch:    master

commit 4bd9d4930153eef45cbebcc84ea07deee62a7345
Author: Nigel Cunningham <nigelc@xxxxxxxxxxxxxxx>
Date:   Tue Jul 29 14:04:56 2014 +1000

(Bug1353802) Remember and reuse last db_format_timestamp output if poss.

This patch adds support for remembering the last parameter used
by ArtefactType::commit to db_format_timestamp and the output of
the function, and reusing the output if the input is the same on
the next call.

In a test import of 2000 users, this patch reduced the number of
invocations of db_format_timestamp from 80,000 (3.6s) to 14,800
(.3s).

Change-Id: I6f5575f9d3649ff53514f9927744a01966d103dd
Signed-off-by: Nigel Cunningham <nigelc@xxxxxxxxxxxxxxx>

-- 
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/1353802

Title:
  Upload users from CSV performance improvements.

Status in Mahara ePortfolio:
  New

Bug description:
  In doing the memory limit work, I've prepared a number of patches to
  improve the performance of the various import and export functions.
  This bug is for submitting those patches against master.

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


References