Thomas Gerbet (tgerbet)2016-01-15 17:01 Work around site statistics generation time integrated into Tuleap 8.10.99.12.
Manuel Vacelet (vaceletm)2016-01-07 15:15Summary -Service usage stats meet php limit +Improve site statistics generation time
Sandra Echinard (sechinard)2016-01-06 11:29 last edited by: Sandra Echinard (sechinard) 2016-01-06 13:34 Integrated in 8.10 https://gerrit.tuleap.net/#/c/4881/ Details: Optimize transformation of statistics export to CSV Also add indexes to speed up MySQL queries. Given the following code snippet: $data_line = array('Data1,', 'Data 2', 'Data 3', 'Data 4', 'Data5'); $statistics_formatter = new Statistics_Formatter('', '', ','); for($i = 0; $i < 20000; $i++) { $statistics_formatter->addHeader('Title'); $statistics_formatter->addLine($data_line); $statistics_formatter->addEmptyLine(); $statistics_formatter->addLine($data_line); } $statistics_formatter->getCsvContent(); I get these results on my dev instances: Before optimization: 6.04s After optimization: 250ms Both implementation have a similar memory cost.
Manuel Vacelet (vaceletm)2016-01-05 12:05Status changed from Under implementation to ClosedClose date set to 2016-01-05