Skip to content

System.IO.Ports.ReadByte() #113889

Description

@severa-astrosysteme

Description

Hello, I have really big performance issues for method ReadByte() - the performance is more than 10 times slower.

The problem were tested and confirmed from my side on
NET7/8/9
Last stable version is NET6

I tried to use serialPort.Read instead, but when I converted it to chars the recieved chars are different (last part in video)

2025-03-25_19h39_15.mp4

NET6 example

Image

NET9 example
Image

No activity

Activity on this issue will appear here.

Activity

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

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions