KirillOsenkov / MSBuildStructuredLog

A logger for MSBuild that records a structured representation of executed targets, tasks, property and item values.
MIT License
1.41k stars 188 forks source link

MSBuild BuildCheck timing reporting #778

Open baronfel opened 1 month ago

baronfel commented 1 month ago

The MSBuild team is developing BuildChecks (build-execution-time analyzers) and like the Roslyn Analyzers that we're drawing so much inspiration from, we've invested in profiling/timing the entire buildcheck infra as well as specific buildchecks and rules.

It would be great if the binlog viewer could report these timings in a folder similar to roslyn analyzers to make it easier to locate and consume the information.

rainersigwald commented 1 month ago

Note that we should make sure that the data MSBuild emits is structured nicely for this use case before making viewer-side changes.

KirillOsenkov commented 1 month ago

If you have the sample data somewhere this shouldn't be too hard

KirillOsenkov commented 1 month ago

We already have a precedent with /profileevaluation, and the Csc /reportanalyzer