Skip to content
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

Different speed of the various Lizmap versions #4379

Closed
guenterw opened this issue Apr 23, 2024 · 9 comments · Fixed by #4380
Closed

Different speed of the various Lizmap versions #4379

guenterw opened this issue Apr 23, 2024 · 9 comments · Fixed by #4380

Comments

@guenterw
Copy link

I have now activated http2 but this does not bring any change. The measurements with lighthouse fluctuate a lot and give a completely different picture than the normal test in the browser.
So I preferred to stop the speed with the watch. Several times, each time clearing the browser cache.
It is interesting that there are big differences between the PC (older i5 Win10), the notebook (newer i7 Win10) and mobile devices (Samsung tablet).
In each case from the start of the project (Bauleitplanung),
image

immediately zoomed to a maximum scale of 1:250 (PC and notebook with mouse scroll wheel):

https://cx21-6.webgis.biz/ Lizmap 3.6.11: PC 10 sec., NB 5 sec. Mobile < 5 sec.
https://cx21-7.webgis.biz/ Lizmap 3.7.6: PC 30 sec., NB 16 sec., Mobile 10-15 sec.
https://cx21-8.webgis.biz/ Lizmap 3.8.0 Alpha.1 PC 54 sec., NB 26 sec., Mobile 10-15 sec.

How can we explain these differences?
And version 3.6 is always significantly faster in all tests

With versions 3.7 and 3.8 you sit in front of a white screen for a long time (especially on the PC)
image

Originally posted by @guenterw in #4367 (comment)

rldhont added a commit to rldhont/lizmap-web-client that referenced this issue Apr 23, 2024
With the transition to OpenLayers 8+, Lizmap loose the use of external WMS.

Thanks to @guenterw to provide projects in different lizmap version.

Fixes 3liz#4379
@Gustry
Copy link
Member

Gustry commented Apr 23, 2024

Fix is already ready, thanks to @rldhont

You should have a look to URL used in your GetMap requests ;-)

@rldhont
Copy link
Collaborator

rldhont commented Apr 23, 2024

@guenterw I invite you to test #4380

@Gustry
Copy link
Member

Gustry commented Apr 23, 2024

This is issue is linked how your layers are fetched : either direct to QGIS server, or using an external server

@Gustry
Copy link
Member

Gustry commented Apr 23, 2024

It should be a duplicate of #4318

@guenterw
Copy link
Author

Question: what is the best way to test/install the master version?
I copied the lizmap directory and then did the usual steps of an update (configurator.php/installer.php/...)
The backend works and the alpha.2 is also displayed but no map is loaded.
image
No error message in the log

@Gustry
Copy link
Member

Gustry commented Apr 24, 2024

Question: what is the best way to test/install the master version?

Now that the PR is merged, you can wait for the latest ZIP available https://packages.3liz.org/

rldhont added a commit to rldhont/lizmap-web-client that referenced this issue Apr 24, 2024
With the transition to OpenLayers 8+, Lizmap loose the use of external WMS.

Thanks to @guenterw to provide projects in different lizmap version.

Fixes 3liz#4379
Fix 3liz#4318
@Gustry
Copy link
Member

Gustry commented Apr 24, 2024

I copied the lizmap directory and then did the usual steps of an update (configurator.php/installer.php/...)

You must build the JS and PHP : https://github.com/3liz/lizmap-web-client/blob/master/INSTALL.md#get-the-source

@rldhont
Copy link
Collaborator

rldhont commented Apr 24, 2024

@guenterw the PR has been merged, you can find the fix in unstable 3.8.0-alpha.2 here https://packages.3liz.org/pub/lizmap/unstable/3.8/

@guenterw
Copy link
Author

perfect! Many thanks for the quick implementation and for the Alpha.2
This is now quite fast, especially for the small test server.

I have also created a test project "ALKIS aus DB" (https://cx21-8.webgis.biz) without WMS services, but only with data from the PG-DB.
Here, too, I find the behavior of the “rotating circles” is now better than in 3.7 (https://cx21-7.webgis.biz). Or the 3.8 is simply faster.

However, I also noticed another error during testing. Layers that are combined into a group are not automatically displayed as active, even though this is defined. This is why the “ALKIS-Daten” group must first be activated in the example. I will write a new issue for this. In version 3.6 (https://cx21-6.webgis.biz) it works (it is always the same project, only the version has been adjusted in the plugin)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants