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

Speed up by using '--skip-loading-plugins' in specific 'qgis_process' calls #209

Merged
merged 12 commits into from
May 20, 2024

Conversation

florisvdh
Copy link
Member

Fixes #201.

Depending on the number of installed processing provider plugins, the speed gain can be considerable!

Under some (yet unkown) conditions the 'processing' plugin can
appear as disabled; yet its algorithms remain available to qgis_process (see Details
section of qgis_enable_plugins() docs).

This has been noted in macOS, Windows, and Ubuntu, but not in each GHA workflow
setup.

The fact that this comes up after the implementation of skipping loaded plugins
may mean that --skip-loading-plugins interferes with the 'processing'
plugin being enabled or not. As long this poses no critical problem in R, no
further investigation is needed here.

In a few GHA jobs this pops up as if no processing providers are enabled, which
fails a few expectations. Hence dropping these (actually unneeded) expectations
(about counting number of enabled plugins) so that the 'processing' plugin artifact
is no party-stopper.
@florisvdh
Copy link
Member Author

The remaining failing checks on Windows are as expected: currently {terra} fails to install on R-devel. I'll ignore this since it will probably be fixed in {terra}.

However planning to also fix #210 here.

@florisvdh florisvdh merged commit af218df into main May 20, 2024
15 of 17 checks passed
@florisvdh florisvdh deleted the skip_loading_plugins branch May 20, 2024 14:33
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 this pull request may close these issues.

Make use of massive qgis_process speed-up in upcoming QGIS >= 3.36
1 participant