Performance issue when using “following-sibling“
Posted: Tue Feb 20, 2024 12:48 pm
Hi,
I am facing a performance issue with a XSLT test using “following-sibling“ and I would like to know if anybody has a suggestion to optimize the test.
The problem is that the test-time increase exponential with the number of lines and some of the XML-files have 80.000 or more lines.
I have attached XSLT fil with a test using “following-sibling“ (Original test) and also a “for-each-group” test to see the performance, but it’s as bad as using “following-sibling“.
The test is used to make sure that each line identifier is unique (cbc:ID)
Any comments and suggestion are appreciated.
Rgds,
Dan
I am facing a performance issue with a XSLT test using “following-sibling“ and I would like to know if anybody has a suggestion to optimize the test.
The problem is that the test-time increase exponential with the number of lines and some of the XML-files have 80.000 or more lines.
I have attached XSLT fil with a test using “following-sibling“ (Original test) and also a “for-each-group” test to see the performance, but it’s as bad as using “following-sibling“.
The test is used to make sure that each line identifier is unique (cbc:ID)
Any comments and suggestion are appreciated.
Rgds,
Dan