https://bugs.documentfoundation.org/show_bug.cgi?id=147029
Buovjaga <[email protected]> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |ilmari.lauhakangas@libreoff | |ice.org --- Comment #4 from Buovjaga <[email protected]> --- Created attachment 208910 --> https://bugs.documentfoundation.org/attachment.cgi?id=208910&action=edit Perf flamegraph The way this can be tested: 1. Copy some template to some directory 2. Edit the copy via File - Templates - Edit Template and remove the Title from File -Properties - Description. This is necessary because if the title is the same, the item will only be shown twice in the Template Manager 3. Make sure the directory where the templates will be is in your Tools - Options - LibreOffice - Paths: Templates 4. In a terminal within the directory where you want to multiply the template, run this (assuming you use Bash shell): for i in {1..400}; do cp ./CV.ott ./CV$i.ott; done Where CV is the name of the template. Flamegraph shows a lot of bitmap activity, I guess related to the thumbnails. Also meta data loading. Flamegraph taken with Arch Linux 64-bit Version: 27.2.0.0.alpha0+ (X86_64) Build ID: 8f2eee739de0d78b6d70351a166bd14769807050 CPU threads: 8; OS: Linux 7.2; UI render: default; VCL: x11 Locale: fi-FI (fi_FI.UTF-8); UI: en-US Calc: CL threaded Built on 4 October 2026 An alternative way to do the generation would have been using odfmeta from the odfpy package: for i in {1..400}; do odfmeta -I "title:CV$i" -o CV$i.ott CV.ott done But unfortunately even though odfpy advertises Python 3 compatibility, it is not fully compatible and thus running it on a modern system fails. -- You are receiving this mail because: You are the assignee for the bug.
