Tooling to measure xsnap performance and bottlenecks #7068
Labels
enhancement
New feature or request
performance
Performance related issues
tooling
repo-wide infrastructure
xsnap
the XS execution tool
What is the Problem Being Solved?
Investigations into issues like #6661 can be expensive and time-consuming. Over time we've developed tooling to assist troubleshooting. We can extend the tooling to produce artifacts and data that would allow us to more easily explore performance, identify bottlenecks, and root cause issues.
Having the ability to easily profile, render profiling information, would augment our ability to identify and and address performance issues.
Description of the Design
If necessary, modify xsnap to meet prerequisites to produce tracing information (e.g. instrumentation).
Integrate a tool like
replay-transcript
with optional profiling, something like:Security Considerations
On data collection
In general, the kinds of profiling and instrumentation we use should be unobtrusive and have minimal privacy impact. The data (or potential telemetry) should not contain potentially sensitive information -- much of the data we need is around where time is spent, and potentially high-level information of memory layout.
Scaling Considerations
Sampling rates and volume of traces should be tuned to avoid producing excessive data dumps, which consume large disk space, making transfer more difficult, as well as make their processing/rendering more expensive. This is also a devX consideration -- the more compact the data, the easier and faster it is to manipulate and explore.
Test Plan
TODO
The text was updated successfully, but these errors were encountered: