-
-
Notifications
You must be signed in to change notification settings - Fork 499
use STANDARD_TREE as model for saxon tree #8994
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Conversation
d9a0c5f
to
74ee517
Compare
This is a change that camptocamp has been using, would like to share it for others to try as a QA activity with the community. Q: Can this be a configuration setting, a system property to allow folks to "revert" if it has a regression for them? |
Yes, thanks, looking for making a system property from it, but as trees are cached, it should be decided if a cache clear handle has to be provided or if setting change implies a restart. This said, maybe can transformation cache live with two or three trees for the same transform and use the asked one when needed, I have to test. |
74ee517
to
929cb38
Compare
Not so clear indeed, sorry for the noise. |
1500 ms less for edit.xsl transformation.
for the same editor form, tested edit.xsl with:
0: linked -> 900 ms as minimum
1: tiny, the default one -> 2350 ms as minimum
2: tinyc -> 850 ms as minimum
To choose between 0 and 2, it should be considered that 0 could have drawback (memory consumption ?), cf. https://www.saxonica.com/documentation10/index.html#!sourcedocs/choosingmodel ? (in my opinion, there are no extra cost for 'slower tree construction' as xsl transformations are cached with geonetwork).
I do not know if another transformation somewhere could suffer from this (going from 1 to 2 seems to also improve indexation a little bit, once transformation has been cached).
Checklist
main
branch, backports managed with labelREADME.md
filespom.xml
dependency management. Update build documentation with intended library use and library tutorials or documentation