xslt function 7 times slower in 2025a compared to 2023a ?

25 visualizaciones (últimos 30 días)
Koen
Koen el 28 de Oct. de 2025 a las 15:17
Comentada: Koen el 28 de Oct. de 2025 a las 20:53
Hi,
I'm noticing a significant performance loss in the xslt() funtion going from 2023a to 2025a.
A transform that only takes 3.6 seconds in 2023a takes 24.4 seconds in 2025a. I did read there are changes to the function, i.e. one can select the XSLT processing engine but all options are just as slow.
Is there a way to regain the performance from 2023a in 2025a for the xslt transform?
  3 comentarios
Koen
Koen hace 34 minutos
Hi John, thanks for the feedback. Unfortunately I can't share the xml and xsl file on here but I use the same command in both releases:
tic;result = xslt(xmlFile, xslFile, "-tostring");toc
Meanwhile, I saved the xslt function from 2023a (and one other dependent function) and used it in 2025a. That runs in 2025a with the same speed as in 2023a.
Koen
Koen hace alrededor de 6 horas
Looking a bit more in the code, the legacy mode should be equivalent to the 2023a function and triggers by using "jaxp" as the processing engine but I used "JAXP" and it turns out to be case sensitive ...

Iniciar sesión para comentar.

Respuestas (0)

Productos


Versión

R2025a

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by