Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Comments

Fix inefficiencies, causes write delays to drop#1572

Draft
silverv wants to merge 2 commits intohardbyte:main from
silverv:slcan_improvements_silver
Draft

Fix inefficiencies, causes write delays to drop #1572
silverv wants to merge 2 commits intohardbyte:main from
silverv:slcan_improvements_silver

Conversation

@silverv
Copy link

@silverv silverv commented Apr 21, 2023

Did some experiments and measurements to conclude that these changes introduce less write delay. It is also likely that CPU load will be decreased with these changes.

hardbyte and pavel-kirienko reacted with thumbs up emoji
Copy link
Author

silverv commented Apr 21, 2023

On Windows it is important to note that a REALTIME priority level can be assigned to the process.

Copy link
Author

silverv commented Apr 21, 2023

This is a continuation of #1490

Copy link
Author

silverv commented Apr 21, 2023

I am doing this to improve the performance of SLCAN in Yakut (https://github.com/OpenCyphal/yakut) and Yukon (https://github.com/OpenCyphal/yukon).

Copy link
Collaborator

With your changes the timeout parameter will do nothing.
Also, your title mentions write delays, but you change the read function?

silverv reacted with thumbs up emoji

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

No reviews

Assignees

No one assigned

Labels

None yet

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

AltStyle によって変換されたページ (->オリジナル) /