Skip to content

Don't hit the event loop when not waiting on I/O #8586

Closed
@brson

Description

@brson

I did a quick test on a message passing benchmark and avoiding the event loop was a 25% speedup. To do this right we need to keep our own I/O ref count in order to know when it's ok not to hit epoll.

Metadata

Metadata

Assignees

No one assigned

    Labels

    A-runtimeArea: std's runtime and "pre-main" init for handling backtraces, unwinds, stack overflowsI-slowIssue: Problems and improvements with respect to performance of generated code.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions