metanorma / mn-native-pdf

Development repository for mn2pdf with Metanorma document samples
3 stars 2 forks source link

ISO XSLT: performance degradation #709

Closed Intelligent2013 closed 4 months ago

Intelligent2013 commented 4 months ago

The ISO 2533 PDF (has long tables) generation time:

The issue may have occurred after fixing in https://github.com/metanorma/mn-native-pdf/issues/449 or https://github.com/metanorma/mn2pdf/issues/245.

Intelligent2013 commented 4 months ago

The issue occurred after the fixing issue https://github.com/metanorma/metanorma/issues/385 (added keep-together.within-line="always" for table cell text).

XSLT updated and the PDF processing time decreased to 2500sec (ISO 2533 Presentation XML contains ~113000 table cells with keep-together.within-line="always").

Intelligent2013 commented 4 months ago

common.xsl and mn2pdf optimized - the processing time is 2100sec.