You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The runtime component of the profiler is separated into its own crate.
This crate defines a strongy typed representation of debugging
information associated with each DDlog operator, which includes operator
kind (arrange, join, flatmap, etc), relations and arrangements
that the operator takes as inputs, and the source code location of the
operator.
The crate also implements methods to convert profiling information
accumulated at runtime along with debug info associate with each
operator to JSON and to dump this JSON into and HTML document.
The compiler has been modified to inject debug info into the generated
dataflow program. As the DDlog runtime instantiates the dataflow graph,
it initializes the profiler with a mapping between DD operators and
DDlog debug info.
In addition, the compiler injects a copy of the program source code into
the generated Rust program. At runtime the profiler dumps this code in
the `src` folder in the profiling directory on the first call to
`dump_profile`.
Signed-off-by: Leonid Ryzhyk <[email protected]>
0 commit comments