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

Optimize ScreenObject CPU usage. #1576

Merged
merged 1 commit into from
Sep 22, 2024
Merged

Conversation

shogo4405
Copy link
Owner

@shogo4405 shogo4405 commented Sep 22, 2024

Description & motivation

  • I have optimized the CPU usage.
    • I've set it to use vImageCopy when alpha rendering is not needed, to avoid unnecessary computations.

Before
iPhone 16 Pro max: 40-50%

After
iPhone 16 Pro max: 35-45%

Type of change

Please delete options that are not relevant.

  • Bug fix (non-breaking change which fixes an issue)

Screenshots:

@shogo4405 shogo4405 added this to the 1.9.5 milestone Sep 22, 2024
@shogo4405 shogo4405 merged commit bcf128d into release/1.9.x Sep 22, 2024
2 checks passed
@shogo4405 shogo4405 deleted the feature/stabilization branch September 22, 2024 17:21
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