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 when reading sectors #1344

Merged
merged 1 commit into from
Nov 15, 2023
Merged

Improve performance when reading sectors #1344

merged 1 commit into from
Nov 15, 2023

Conversation

uweseimet
Copy link
Contributor

@uweseimet uweseimet commented Nov 12, 2023

This addresses item 1. in #1343.

@uweseimet uweseimet marked this pull request as ready for review November 12, 2023 14:32
@uweseimet uweseimet linked an issue Nov 12, 2023 that may be closed by this pull request
Copy link

sonarcloud bot commented Nov 12, 2023

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

No Coverage information No Coverage information
0.0% 0.0% Duplication

@uweseimet
Copy link
Contributor Author

uweseimet commented Nov 12, 2023

Just thought that I should also test this on a Pi Zero, not just on a Pi 4. On the Zero optimization 2. in #1343 may (also) be interesting, even though it is not useful for the Pi 4. Making this PR a draft until I have results on a Pi Zero.

@uweseimet uweseimet marked this pull request as draft November 12, 2023 15:03
@uweseimet
Copy link
Contributor Author

uweseimet commented Nov 12, 2023

On the Pi Zero there is also a slight improvement, and it definitely id not slower.

@uweseimet uweseimet marked this pull request as ready for review November 12, 2023 18:59
Copy link
Member

@rdmark rdmark left a comment

Choose a reason for hiding this comment

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

So about 1% increased read throughput on either RPi model ?

@uweseimet
Copy link
Contributor Author

So about 1% increased read throughput on either RPi model ?

On the Pi Zero you do not really see a difference. On the Pi 4 it is about 1%. Not much, but anyway: More speed because of less code ;-).

@uweseimet uweseimet merged commit ec9f83f into develop Nov 15, 2023
16 checks passed
@uweseimet uweseimet deleted the issue_1343_1 branch November 15, 2023 06:44
rdmark pushed a commit that referenced this pull request May 1, 2024
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.

Improve performance when reading sectors
2 participants