Upload users from CSV performance improvements.
Bug #1353802 reported by
Nigel Cunningham
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Mahara |
Fix Released
|
Medium
|
Nigel Cunningham |
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.
Changed in mahara: | |
status: | Invalid → Fix Committed |
milestone: | none → 1.10.0 |
Changed in mahara: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.
Reviewed: https:/ /reviews. mahara. org/3610 gitorious. org/mahara/ mahara/ commit/ 4bd9d4930153eef 45cbebcc84ea07d eee62a7345
Committed: http://
Submitter: Robert Lyon (<email address hidden>)
Branch: master
commit 4bd9d4930153eef 45cbebcc84ea07d eee62a7345
Author: Nigel Cunningham <email address hidden>
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 :commit to db_format_timestamp and the output of
by ArtefactType:
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: I6f5575f9d3649f f53514f9927744a 01966d103dd
Signed-off-by: Nigel Cunningham <email address hidden>