Created attachment 191947 [details] Example file from Writer Attached example file contains about 100 pages of simple text. Opening this file takes a short time, but even that is more than the same content saved as docx is opened in Word. This report is to explore options to reduce load times as much as possible in this simple content case. 1. Open attached file in current nightly from the commandline, using time OOO_EXIT_POST_STARTUP=1 program/soffice Ente-Large.odt First (cold cache) start gives: real 0m13,085s user 0m0,000s sys 0m0,015s Warm cache gives: real 0m8,486s user 0m0,015s sys 0m0,000s Version: 24.8.0.0.alpha0+ (X86_64) / LibreOffice Community Build ID: 25276df12abd9d002f7f899900434617b256f745 CPU threads: 15; OS: Windows 10.0 Build 19045; UI render: Skia/Raster; VCL: win Locale: de-DE (hu_HU); UI: de-DE Calc: threaded (based on the amount of CLI output, this seems to be a dbgutil build, but still)
Created attachment 191948 [details] Flamegraph made under Ubuntu 22, own build
Created attachment 191949 [details] Flamegraph of an empty document Writer opening, for reference Maybe something sticks out here as well.
First open, I get: real 0m6,082s user 0m6,092s sys 0m0,448s Second time: real 0m5,906s user 0m5,726s sys 0m0,459s With: Version: 24.8.0.0.alpha0+ (X86_64) / LibreOffice Community Build ID: 2cedb1a19ad605df4e148589e9027512e4dd9265 CPU threads: 8; OS: Linux 5.15; UI render: default; VCL: gtk3 Locale: en-AU (en_AU.UTF-8); UI: en-US Calc: threaded In the terminal, a flood of: warn:xmloff:201930:201930:xmloff/source/text/txtparai.cxx:358: unknown attribute http://www.w3.org/1999/xlink xlink:type value=simple If there's potential for improvement, let's do it. Gabor, any reason for the Windows-only report?