stable

Clone or download

Read-only

request #11594 Reduce un-necessary DB writes on start scrum

The top used queries are for prepareRanking and createNullValueOnChangeset. As the ranking is set by XML value, there is no need to "prepare" for it. As there are no values in those trackers, there are no need for checking which changesets to update. On refrence server the start scrum went from 45s down to 5.5 seconds and 350 sql queries were saved. Change-Id: Ib150aa190c001d46a9c136081c5ebc1ff1bc8f34

Modified Files

Name
M plugins/agiledashboard/include/AgileDashboard/FormElement/Burnup.php +1 −1 Go to diff View file
M plugins/tracker/include/Tracker/FormElement/Tracker_FormElement.class.php +6 −5 Go to diff View file
M plugins/tracker/include/Tracker/FormElement/Tracker_FormElementFactory.class.php +8 −6 Go to diff View file
M plugins/tracker/include/Tracker/FormElement/Tracker_FormElement_Container.class.php +5 −4 Go to diff View file
M plugins/tracker/include/Tracker/FormElement/Tracker_FormElement_Field.class.php +9 −7 Go to diff View file
M plugins/tracker/include/Tracker/FormElement/Tracker_FormElement_Field_Burndown.class.php +1 −1 Go to diff View file
M plugins/tracker/include/Tracker/FormElement/Tracker_FormElement_Field_Computed.class.php +5 −5 Go to diff View file
M plugins/tracker/include/Tracker/FormElement/Tracker_FormElement_Field_CrossReferences.class.php +1 −1 Go to diff View file
M plugins/tracker/include/Tracker/FormElement/Tracker_FormElement_Field_LastModifiedBy.class.php +6 −5 Go to diff View file
M plugins/tracker/include/Tracker/FormElement/Tracker_FormElement_Field_LastUpdateDate.class.php +1 −1 Go to diff View file
M plugins/tracker/include/Tracker/FormElement/Tracker_FormElement_Field_List.class.php +8 −6 Go to diff View file
M plugins/tracker/include/Tracker/FormElement/Tracker_FormElement_Field_SubmittedBy.class.php +6 −6 Go to diff View file
M plugins/tracker/include/Tracker/FormElement/Tracker_FormElement_Field_SubmittedOn.class.php +1 −1 Go to diff View file
M plugins/tracker/include/Tracker/FormElement/Tracker_SharedFormElementFactory.class.php +3 −3 Go to diff View file
M plugins/tracker/include/Tracker/FormElement/dao/Tracker_FormElement_FieldDao.class.php +6 −2 Go to diff View file
M plugins/tracker/include/Tracker/Tracker.class.php +2 −2 Go to diff View file
M plugins/tracker/include/Tracker/TrackerFactory.class.php +1 −1 Go to diff View file
M plugins/tracker/tests/TrackerTest.php +3 −2 Go to diff View file
M plugins/tracker/tests/Tracker_FormElementFactoryTest.php +2 −2 Go to diff View file
M plugins/tracker/tests/Tracker_FormElement_Container_FieldsetTest.php +3 −2 Go to diff View file
M plugins/tracker/tests/Tracker_FormElement_Field_ListTest.php +1 −1 Go to diff View file
M plugins/tracker/tests/Tracker_SharedFormElementFactoryTest.php +14 −10 Go to diff View file