<div dir="ltr">Hey,<br><div class="gmail_extra"><br><div class="gmail_quote">On Tue, Sep 6, 2016 at 9:10 PM, Maarten Bosmans <span dir="ltr"><<a href="mailto:mkbosmans@gmail.com" target="_blank">mkbosmans@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span class="">2016-09-01 2:59 GMT+02:00 Markus Mohrhard <<a href="mailto:markus.mohrhard@googlemail.com">markus.mohrhard@googlemail.<wbr>com</a>>:<br>
> For the bug fix this would be  a simple test document that can be used in<br>
> one of the automated tests.<br>
<br>
</span>I'm looking into making a test case for the two bugfixes.<br></blockquote><div><br></div><div>Great.<br> <br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<span class=""><br>
> For the performance improvement it would be a<br>
> document showing the problem but not taking too long. The perf documents are<br>
> run under callgrind which means they take around 50 to 100 times the normal<br>
> import time during the test. So ideally the document already shows the<br>
> problem but still opens in less than 30 seconds.<br>
<br>
</span>For the performance, I used the document attached to the bugreport<br>
(tdf#100709) and converted using `soffice --convert-to ods`.<br>
On my computer conversion took about 6 seconds, of which roughly 40%<br>
import, 40% export and 20% startup/other. After the perf improvement,<br>
import time is only a couple of percent, and total time is reduced to<br>
3-4s.<br>
Would this document be suitable as a performance regression test as<br>
is, or should I try to make it smaller?<br></blockquote><div><br></div><div>A similar file created from scratch. Taking a document that you have not created is normally not correctly licensed. However a document that just takes 6 seconds is already good and a good template that you can use to design your document.<br> <br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<br>
Also, it would be nice to be able to only measure import, without the<br>
export, as that more clearly shows the gain of over 10x, instead of<br>
just the 2x reduction in runtime of the whole conversion. Is this<br>
possible within the performance testing framework of LibreOffice?<br></blockquote><div><br><br></div><div>Yes. Of course. For the performance tests we only need the document and I'll add it to the list. The files are in another repository and the configuration for defining how the files are handled is not that obvious. The results will appear on <a href="http://perf.libreoffice.org">perf.libreoffice.org</a> after adding the file.<br><br></div><div>Markus <br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<span class="HOEnZb"><font color="#888888"><br>
Maarten<br>
</font></span></blockquote></div><br></div></div>