Hi Matus, On Thu, Jun 05, 2014 at 09:11:31PM +0200, Matúš Kukan <matus.kukan@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
Attachment:
signature.asc
Description: Digital signature