Skip to content

About performance #4

@caobug

Description

@caobug

Hello, if I receive 8K data, the WIC does at least 16300 memcpy operations, resulting in a drastic drop in performance.

According to the test, on the 9th generation Inter CPU, it will not exceed 200Mbps/s

wic/src/wic.c

Line 603 in 54d1240

blocked = parse_data(self, &s);

wic/src/wic.c

Line 1136 in 54d1240

if(stream_get_u8(s, &b)){

wic/src/wic.c

Line 1146 in 54d1240

stream_put_u8(&self->rx.s, b);

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions