Skip to content

N-API extensions for debugging/monitoring #296

@Flarna

Description

@Flarna

Is it planned/possible to extend N-API with debugging/monitoring APIs of the underlying VM?

I have following APIs in mind:

  • v8::CpuProfiler for in process CPU profiling
  • v8::Isolate::NumberOfHeapSpaces(), v8::Isolate::GetHeapSpaceStatistics, v8::Isolate::AddGCPrologueCallback() and v8::Isolate::AddGCEpilogueCallback() for in process GC/Heap statistics collection
  • v8::HeapProfiler for creation of Heap dumps

List above may be incomplete but I think the main question is if N-API should be limited of "real production use" or include also debugging/monitoring APIs most likely only of value for few modules.

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