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 speed of loading QOI images #7925

Merged
merged 3 commits into from Apr 1, 2024
Merged

Conversation

radarhere
Copy link
Member

Helps #7922 by reducing the loading time of PNG_transparency_demonstration_1.qoi.zip from 5.15s to 3.89s.

Copy link
Member

@hugovk hugovk left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Here's the charts from running the benchmark from the issue:

Before

About 3.5s for Pillow to read QOI

After

About 2.5s for Pillow to read QOI

@hugovk hugovk merged commit 1d733f4 into python-pillow:main Apr 1, 2024
57 checks passed
@radarhere radarhere deleted the qoi branch April 1, 2024 05:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants