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

Aggregate grass .txt descriptions to single .json file #55513

Merged
merged 13 commits into from
Dec 8, 2023

Conversation

nyalldawson
Copy link
Collaborator

The goal here is to improve the QGIS startup speed, especially on Windows where opening and parsing the hundreds of description .txt files is SLOOOOOOW. This contributes significantly to the overall speed of loading QGIS on Windows, especially on new installs/cold starts.

To avoid this, the .txt description files are aggregated into a single .json unified file, which can be quickly opened and read in one go.

The json file is built using the new description_to_json.py script, which must be run whenever any of the .txt description files are updated.

@nyalldawson nyalldawson added Optimization I feel the need... the need for speed! Processing Relating to QGIS Processing framework or individual Processing algorithms labels Dec 5, 2023
@github-actions github-actions bot added the GRASS label Dec 5, 2023
@github-actions github-actions bot added this to the 3.36.0 milestone Dec 5, 2023
Copy link

github-actions bot commented Dec 5, 2023

🪟 Windows builds ready!

Windows builds of this PR are available for testing here. Debug symbols for this build are available here.

(Built from commit 1dd70c7)

@nyalldawson
Copy link
Collaborator Author

Refs #54563

@nyalldawson nyalldawson merged commit 3bd7b74 into qgis:master Dec 8, 2023
29 checks passed
@nyalldawson nyalldawson deleted the grass_files branch December 8, 2023 09:35
@florisvdh
Copy link
Contributor

Great 🙂!

BTW does this also generalize the 'grass7' provider ID to just 'grass', since currently GRASS 8 is the version in use? I encountered users and R developers being confused by the 'grass7' label.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
GRASS Optimization I feel the need... the need for speed! Processing Relating to QGIS Processing framework or individual Processing algorithms
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants