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)

Open
#200 0 comments 0 reactions 1 assignee View on GitHub

@mslukebo is already working on this.

Since Apr 15, 2022.

enhancement untriaged
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

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.