Skip to content

Optimize setting the data gpio bits#1022

Merged
akuker merged 2 commits intodevelopfrom
akuker_fix_1019
Dec 7, 2022
Merged

Optimize setting the data gpio bits#1022
akuker merged 2 commits intodevelopfrom
akuker_fix_1019

Conversation

@akuker
Copy link
Copy Markdown
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
Copy Markdown
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
Copy Markdown
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
Copy Markdown
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