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 setting the data gpio bits #1022

Merged
merged 2 commits into from
Dec 7, 2022
Merged

Optimize setting the data gpio bits #1022

merged 2 commits into from
Dec 7, 2022

Conversation

akuker
Copy link
Member

@akuker akuker commented Dec 6, 2022

This change significantly cuts down on the number of accesses to the GPIO control registers. Testing shows around 800% (8x) speed improvement with this change.

Note that this does not completely resolve #1019. It simply makes it better.

Max read speed is now 166KB/sec

@akuker akuker marked this pull request as ready for review December 7, 2022 02:34
@akuker akuker requested a review from uweseimet December 7, 2022 02:34
@uweseimet
Copy link
Contributor

@akuker @nucleogenic I am missing the SonarCloud analysis for this PR. @nucleogenic Can it be that it got lost with one of your recent workflow changes?

@akuker
Copy link
Member Author

akuker commented Dec 7, 2022

It looks like SonarCould ran for this. I can see the results as well: https://sonarcloud.io/summary/new_code?id=akuker_PISCSI&branch=akuker_fix_1019

image

@akuker akuker merged commit 09ba19a into develop Dec 7, 2022
@akuker akuker deleted the akuker_fix_1019 branch December 7, 2022 17:09
@uweseimet
Copy link
Contributor

@akuker I now also see them, but I had to click on "View details" first. Maybe something has changed in GitHub recently because before the results were always there. Anyway, I'm fine now.

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.

2 participants