-
Notifications
You must be signed in to change notification settings - Fork 802
Closed
Milestone
Description
I've been running into some performance issues reading intermittent byte streams from serial ports on windows. I have detailed the exact issue here:
I can fix the performance issue (for my use-case) by modiyfing named_pipe.rs, to force read requests of only 1-byte. This seems to work well, and emulates the behavior of PuTTy.
Is it possible to modify the read request size in some way that doesn't require modifying the library source? This would allow mio-serial
and tokio-serial
to nicely expose the same feature, which could lead to some serious performance improvements -- particularly if the end application is decoding packets of some fixed length.
Metadata
Metadata
Assignees
Labels
No labels