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

Improve performance of collections panel #1266

Merged
merged 3 commits into from
Nov 26, 2024

Conversation

cmeyer
Copy link
Collaborator

@cmeyer cmeyer commented Nov 26, 2024

  • Simplify ThumbnailSource by using Python ref counting and merging with ThumbnailProcessor.
  • Improve caching of thumbnail information.
  • Disable list canvas item updating during display item list changes.

See #1257. Not perfect, but significantly better than before.

Tested by creating a project with 1000 data items and switching to various choices in Collections panel.

@cmeyer cmeyer changed the title fix thumbnail performance Fix #1257. Improve performance of collections panel Nov 26, 2024
@cmeyer cmeyer force-pushed the fix-thumbnail-performance branch from 3d6c1db to 428ffc9 Compare November 26, 2024 04:57
@cmeyer cmeyer changed the title Fix #1257. Improve performance of collections panel Improve performance of collections panel Nov 26, 2024
@cmeyer cmeyer merged commit a258a1d into nion-software:master Nov 26, 2024
11 checks passed
@cmeyer cmeyer deleted the fix-thumbnail-performance branch November 26, 2024 22:12
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.

1 participant