qgis / QGIS

QGIS is a free, open source, cross platform (lin/win/mac) geographical information system (GIS)
https://qgis.org
GNU General Public License v2.0
10.04k stars 2.92k forks source link

Very high execution times in QGIS 3.34.0 for models created with the Graphic Modeler #55337

Closed news24lor closed 2 days ago

news24lor commented 7 months ago

What is the bug or the crash?

I have been using the new version of QGIS 3.34.0 for a few days and have found that in running models created by the Graphic Modeler, there is very different performance between version 3.32.3 and 3.34.0. I have several models created with the modeler including a very complex one with about 100 algorithms that until version 3.32.3 was executed in about 11 minutes, while with version 3.34.0 the same model after more than 3 hours was executed ONLY 18% of the total!!!

In the case of simpler models with very few algorithms the execution times are similar with increasingly better times with version 3.32.3.

I checked and rechecked everything but not much can be done. When "Run" is pressed to execute the model, before the first script appears in the log, several minutes pass while in the previous version 3.32.3 the first model script was executed after a few seconds.

I checked the performance without plugins installed but the result is the same

QGIS 3.32.3 worked well

Steps to reproduce the issue

Go to... Processing Toolbox Open Existing Model ... You have to open a big Model

Versions

QGIS version 3.34.0-Prizren QGIS code revision b77936ec947 Qt version 5.15.2 Python version 3.9.5 GDAL/OGR version 3.3.2 PROJ version 8.1.1 EPSG Registry database version v10.028 (2021-07-07) GEOS version 3.9.1-CAPI-1.14.2 SQLite version 3.35.2 PDAL version 2.3.0 PostgreSQL client version unknown SpatiaLite version 5.0.1 QWT version 6.1.6 QScintilla2 version 2.11.5 OS version macOS 13.6

Same problem in QGIS 3.34.0 for Windows

Supported QGIS version

New profile

Additional context

I checked the performance without plugins installed but the result is the same. I have tested this problem on Windows and Mac version. The problem is only in QGIS 3.34.0

agiudiceandrea commented 7 months ago

@news24lor, thanks for reporting. I think it would be useful, in order to help a developer find the root cause of the issue, if you could provide the model, the input layer(s) and parameters.

BTreeTech commented 2 months ago

I am having similar issues, I don't think it is model specific as it happens with all of models that I use day to day, but could be a specific algorithm. QGIS version 3.34.5-Prizren QGIS code revision 4b308492 Qt version 5.15.3 Python version 3.9.18 GDAL/OGR version 3.8.4 PROJ version 9.3.1 EPSG Registry database version v10.098 (2023-11-24) GEOS version 3.12.1-CAPI-1.18.1

nyalldawson commented 1 month ago

Tagging this as needing feedback. Without a sample model there's nothing we can do

news24lor commented 1 month ago

Hi, in the last version 3.36.x, the speed is comeback as 3.32.x. I use Qgis with Intel and ARM processor and now the graphic modeler is reusable. In the ARM processor the difference of execution of a big model is huge respect to Qgis on Intel. For me is resolved! Thank so much!

github-actions[bot] commented 1 month ago

The QGIS project highly values your report and would love to see it addressed. However, this issue has been left in feedback mode for the last 14 days and is being automatically marked as "stale". If you would like to continue with this issue, please provide any missing information or answer any open questions. If you could resolve the issue yourself meanwhile, please leave a note for future readers with the same problem and close the issue. In case you should have any uncertainty, please leave a comment and we will be happy to help you proceed with this issue. If there is no further activity on this issue, it will be closed in a week.

github-actions[bot] commented 2 days ago

While we hate to see this happen, this issue has been automatically closed because it has not had any activity in the last 42 days despite being marked as feedback. If this issue should be reconsidered, please follow the guidelines in the previous comment and reopen this issue. Or, if you have any further questions, there are also further support channels that can help you.