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

Decrease run time up to 70% #3

Merged
merged 1 commit into from May 15, 2022
Merged

Decrease run time up to 70% #3

merged 1 commit into from May 15, 2022

Conversation

lu0
Copy link
Owner

@lu0 lu0 commented May 15, 2022

Applying a default blur effect is painfully slow, here's the timing of 100 runs, just before rofi is triggered:

times before the change

I decreased the runtime up to 70% (65% average) by scaling down the image and then scaling it up to fill the screen, thus simulating a blur effect.

times after the change

The outcome is very similar to a common blur effect; I would say it is indistinguishable for the purposes of this project.

With a "normal" blur (before this change):

blur-default

With simulated blur (after this change):

blur-simulated

@lu0 lu0 self-assigned this May 15, 2022
@lu0 lu0 added the enhancement New feature or request label May 15, 2022
@lu0 lu0 added this to In progress in Repository Maintenance via automation May 15, 2022
@lu0 lu0 added this to In progress in Misc TO-DOs via automation May 15, 2022
@lu0 lu0 merged commit 865794a into master May 15, 2022
Misc TO-DOs automation moved this from In progress to Done May 15, 2022
Repository Maintenance automation moved this from In progress to Done May 15, 2022
@lu0 lu0 deleted the enhancement/optimize-blur branch May 15, 2022 20:06
@lu0 lu0 mentioned this pull request May 20, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Development

Successfully merging this pull request may close these issues.

None yet

1 participant