Skip to content

Analyzers prototyping - Instrumentation module #9629

@JanKrivanek

Description

@JanKrivanek

Context

#9627

This module will handle monitoring and summarization of overhead added by analyzers infrastructure and individual analyzers (will be usefull during build performance investigation). API is yet to be determined but sample is added for illustration

Things to be investigated and decided

Possible tracing API

    public struct ScopeId { }

    public static class Tracing
    {
        ScopeId RegisterScope(string name, ScopeId? parent) { }
        IDisposable EnterScope(ScopeId scope) { }
        void ExitScope(ScopeId scope) { }
        TracingSummary GetSummary() { }
    }

Metadata

Metadata

Assignees

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions