Skip to content

Evaluate exporting metrics from perf_hooks #15

@mmarchini

Description

@mmarchini

Node.js has a Performance Hooks API to expose internal runtime metrics to the application. Some metrics we calculate in this package are also exposed there (for example, gc.pause) and others could be useful. There are also new metrics coming, like monitorEventLoopDelay and monitorEventLoopIdleness.

By using Performance Hooks, we might be able to reduce (and maybe drop) dependency on C++ code in the future, making major Node.js bumps easier.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions