Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/rainersigwald/performancesummarytocsv
Where did the time go in that build?
https://github.com/rainersigwald/performancesummarytocsv
msbuild performance performance-analysis
Last synced: 28 days ago
JSON representation
Where did the time go in that build?
- Host: GitHub
- URL: https://github.com/rainersigwald/performancesummarytocsv
- Owner: rainersigwald
- Created: 2021-04-30T17:10:08.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2024-10-04T16:51:36.000Z (about 1 month ago)
- Last Synced: 2024-10-06T15:21:54.489Z (about 1 month ago)
- Topics: msbuild, performance, performance-analysis
- Language: C#
- Homepage:
- Size: 91.8 KB
- Stars: 0
- Watchers: 3
- Forks: 1
- Open Issues: 3
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# PerformanceSummaryToCsv
This is a tool to compare builds using MSBuild. You can pass it any combination of
* Text log files built with the logger option `PerformanceSummary`
* Binary logs (`.binlog`s)
* ETW traces (`.etl.zip`) that include [MSBuild's event source](https://github.com/dotnet/msbuild/blob/main/documentation/specs/event-source.md)And get as output a CSV file with a task-level "where did the time go" breakdown, and optionally an HTML chart comparing the builds.
```text
Usage:
PerformanceSummaryToCsv [options]Options:
--inputs Input text files containing an MSBuild PerformanceSummary section. Separate multiple inputs with a space.
--output Path of the final csv file. [default: MSBuild_performance.csv]
--show Open a browser window with a comparison chart. [default: False]
--version Show version information
-?, -h, --help Show help and usage information
```As of now there isn't an easy way to install the tool. After cloning and building this repo you should have an executable. Building requires .NET SDK 5.0.100 or higher.
```bash
git clone https://github.com/rainersigwald/PerformanceSummaryToCsv.git
cd PerformanceSummaryToCsv
dotnet build
```Then run `PerformanceSummaryToCsv\bin\Debug\net5.0\PerformanceSummaryToCsv.exe` (or the equivalent non-Windows binary).