Skip to content

[BUG]DisplayEpollWatch causes a 20% increase in CPU usage #3030

@yxungh

Description

@yxungh

Describe the bug

When I enable the macro IF_HEAVY_LOGGING.
The string processing here will increase the usage by 20%, and I believe it’s not worth it.
IF_HEAVY_LOGGING(string tracking = " TRACKING: " + ed.DisplayEpollWatch());

image

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type: BugIndicates an unexpected problem or unintended behavior[core]Area: Changes in SRT library core

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions