Skip to content

signal.add/removeEventListener('abort', fn) is slow #55311

Closed
@ronag

Description

@ronag

Just did a profile of a service in production and noticed that 25% of cpu time goes to add/remove abort listeners. Using signals for async logic doesn't seem to be a very performat solution.

Is there anything we can do to improve this?

Metadata

Metadata

Assignees

No one assigned

    Labels

    eventsIssues and PRs related to the events subsystem / EventEmitter.performanceIssues and PRs related to the performance of Node.js.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions