loperf: performance regressions

Miklos Vajna vmiklos at collabora.co.uk
Fri Jun 6 00:54:35 PDT 2014


Hi Matus,

On Thu, Jun 05, 2014 at 09:11:31PM +0200, Matúš Kukan <matus.kukan at collabora.com> wrote:
> and found one huge performance regression (21 -> 102 bn pseudo cycles),
> for a .doc document [2] between commits
> 947feaa896168430c78dd08dabee1447133f2740..8dd624128bf12e013c17b3b24c0b24135296bb8e
> so I suspect it has something to do with SwTextBoxHelper.
> Callgrind data:
> http://dev-builds.libreoffice.org/callgrind_report/traces/onload-012_fdo
> %2338513.doc-convert.log.gz

Hmm, quite possible, though I don't understand the trace. If I open it
with kcachegrind, it says that 77% of the time is spent in
SwXMLWriter::Write(), while the commandline is:

/home/buildslave/build/instdir/program/soffice.bin --splash-pipe=0 --headless --convert-to doc --outdir tmp /home/buildslave/source/test-files/loperf/012_fdo#38513.doc

I.e. we read from a .doc file, and save it as a .doc file. Do you have
an idea why the ODF export is invoked here? I'll try to run cachegrind
here locally to see if I can reproduce the same trace or not.

Thanks,

Miklos
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 198 bytes
Desc: Digital signature
URL: <http://lists.freedesktop.org/archives/libreoffice/attachments/20140606/149a2853/attachment.sig>


More information about the LibreOffice mailing list