dd-trace-js icon indicating copy to clipboard operation
dd-trace-js copied to clipboard

First prototype of a timeline profiler

Open szegedi opened this issue 1 year ago • 3 comments

A prototype implementation of a new profiler type ("timeline") that can be operated simultaneously with "wall" profiler to gather information suitable for presentation as a timeline from async_hooks. This one takes the coarser-grained approach and essentially summarizes durations of various async events in 10ms (actually, 1/99s for Datadog reasons) quanta. Another approach with full-fidelity activation information would be possible, but we'd need to start emitting the Go execution trace format for that.

szegedi avatar Aug 18 '23 12:08 szegedi