stable

Clone or download

Read-only

request #8706: Reduce backlog load time

Tested on Tuleap.net backlog with blackfire, average run: - Time: 4.5s -> 1.16s => -74% - Memory: 20.3MB -> 10.8MB => -46% - SQL queries: 1480 -> 142 Change-Id: I19594e9d1d35822a99be9f36d3cd691921f95f28

Modified Files

Name
M plugins/agiledashboard/include/AgileDashboard/BacklogItemPresenter.class.php +11 −1 Go to diff View file
M plugins/agiledashboard/include/AgileDashboard/Milestone/Backlog/BacklogItem.class.php +11 −3 Go to diff View file
M plugins/agiledashboard/include/AgileDashboard/Milestone/Backlog/BacklogItemCollectionFactory.class.php +5 −3 Go to diff View file
M plugins/agiledashboard/include/AgileDashboard/Milestone/Backlog/IBacklogItem.class.php +2 −0 Go to diff View file
M plugins/agiledashboard/include/AgileDashboard/REST/v1/BacklogItemRepresentationFactory.class.php +1 −1 Go to diff View file
M plugins/agiledashboard/include/Planning/MilestoneFactory.class.php +63 −17 Go to diff View file
M plugins/agiledashboard/tests/include/KanbanColumnManagerTest.php +1 −1 Go to diff View file
M plugins/tracker/include/Tracker/Artifact/Tracker_Artifact.class.php +13 −7 Go to diff View file
M plugins/tracker/include/Tracker/Artifact/Tracker_ArtifactFactory.class.php +13 −0 Go to diff View file
M plugins/tracker/include/Tracker/Artifact/Tracker_Artifact_Changeset.class.php +15 −3 Go to diff View file
M plugins/tracker/include/Tracker/Artifact/Tracker_Artifact_ChangesetFactory.class.php +26 −0 Go to diff View file
M plugins/tracker/include/Tracker/Artifact/dao/Tracker_ArtifactDao.class.php +42 −11 Go to diff View file
M plugins/tracker/include/Tracker/Artifact/dao/Tracker_Artifact_ChangesetDao.class.php +22 −1 Go to diff View file
M plugins/tracker/include/Tracker/Artifact/dao/Tracker_Artifact_Changeset_ValueDao.class.php +1 −1 Go to diff View file
M plugins/tracker/include/Tracker/FormElement/Tracker_FormElement.class.php +7 −2 Go to diff View file