stable

Clone or download

Read-only

request #7604 - Iterative approach for computed values

Compute "per depth in the graph", with this approach their should be only one SQL query per depth in the graph. For history, goes from 17000 SQL requests to 1400 Change-Id: If6f344e5d636ef88fe3e4ddde725eaa9f59c8c41

Modified Files

Name
M plugins/tracker/db/install.sql +2 −1 Go to diff View file
A plugins/tracker/db/mysql/updates/2014/201411051547_add_fast_compute_option.php +42 −0 Go to diff View file
M plugins/tracker/include/Tracker/FormElement/Tracker_FormElement_Field_Computed.class.php +39 −1 Go to diff View file
M plugins/tracker/include/Tracker/FormElement/dao/Tracker_FormElement_Field_ComputedDao.class.php +18 −12 Go to diff View file
M plugins/tracker/include/Tracker/FormElement/dao/Tracker_FormElement_Field_ComputedDaoCache.class.php +1 −1 Go to diff View file
M plugins/tracker/site-content/en_US/tracker.tab +2 −1 Go to diff View file
M plugins/tracker/site-content/fr_FR/tracker.tab +2 −1 Go to diff View file
M plugins/tracker/tests/Tracker_FormElement_Field_ComputedTest.php +80 −3 Go to diff View file
M plugins/tracker/www/resources/tracker.rnc +1 −0 Go to diff View file
M plugins/tracker/www/resources/tracker.rng +8 −0 Go to diff View file
M tests/lib/TestHelper.class.php +3 −3 Go to diff View file