microsoft / microsoft/microsoft-performance-toolkit-sdk
Make composite cookers lazily evaluated (e.g. do not call OnDataAvailable during processing, but instead the first time that cooker is queried)
@mslukebo is already working on this.
Since Apr 15, 2022.
- Dominant language
- C#
- Stars
- 239
- Forks
- 78
- Avg merge
- 4d 3h
- Merged PRs (30d)
- 2
Description
Is your feature request an entirely new concept?
New concept: make composite cookers lazily evaluated
Is your feature request related to an existing component?
Yes - composite data cookers.
Is your feature request related to a problem? Please describe.
When processing a data source, processing time is currently coupled with the number of data cookers involved in the data processing pipeline it starts. It's possible, for instance, to break a trace's processing by creating a cooker that never returns from OnDataAvailable.
Describe the solution you'd like
Instead of calling OnDataAvailable during processing, we should defer its call until the first time a consumer queries that cooker for an output.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Assessment
This issue has not been assessed yet.