-
Notifications
You must be signed in to change notification settings - Fork 23
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
change-legend-entries-retrieval #2050
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you @michmuel for this PR!
I prefer this solution to the other PR.
However, I could neither measure any performance win within the standart pyramid_oereb example nor within our environment in BS. Did your extracts improve in BL?
@svamaa The request for the xml-extract for egrid CH958382784904 (large real estate) seems to be faster by about 1s (10s to 9s in total). |
Good to hear, could we get any more tests from @voisardf @peterschaer @lopo977 ? |
I just tried this branch with a 32-page extract, and here in Tessin, we see less than a 5% difference. However this branch seems also little faster. |
I made a few measurements with complex extracts (large parcel, many legend items). Unfortunately, I could not observe any improvement in performance. |
The case where performance could be improved is limited to real estates that are covered by public law restrictions with law status "inKraft" AND "laufende Aenderungen". However, extracts for real estates only covered by plrs of law status "inKraft" should not get slower. |
To conclude on the recent testing:
|
If it doesn't complicate code maintenance and BL agrees, it can be merged for us (TI). |
It's ok for me to merge. |
Same here. In favour for merging - even if the performance does not improve much. 👍 |
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## master #2050 +/- ##
==========================================
+ Coverage 85.51% 85.74% +0.22%
==========================================
Files 120 120
Lines 5276 5274 -2
==========================================
+ Hits 4512 4522 +10
+ Misses 764 752 -12
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. |
No description provided.