Skip to content

System.IO.Ports.ReadByte() #113889

@severa-astrosysteme

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

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions