Headless pdf convertion slows down significantly between version 25.8.2 and 25.8.4

Running

libreoffice25.8 --headless --invisible --nodefault --view --nolockcheck --nologo --norestore -env:UserInstallation=file:///tmp/job-chunk-54f9980c-part-621-lambda-1/lo_profile --convert-to pdf:writer_pdf_Export --outdir /tmp/some-folder

25.8.2.2, compared to the latest 25.8.4 is more than 6 times faster.
25.8.2.2 converts a simple word file with tables for about 6 seconds, while the same file converted with 25.8.4 takes about 39 seconds.

Any hints or pointers on why that might be? If needed, I could provide additional information. The libre instance is part of a dockerized lambda using as a base image public.ecr.aws/lambda/python:3.13. I would prefer to use the latest stable version, but this is a huge performance degradation.

definitely worth trying QA/Bibisect - The Document Foundation Wiki