Skip to content

Instantly share code, notes, and snippets.

View jaredpar's full-sized avatar

Jared Parsons jaredpar

View GitHub Profile
Build Definition Kind Run Name
1 def Rolling job1
2 def Rolling job2
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using Microsoft.Build.Logging.StructuredLogger;
var build = BinaryLog.ReadBuild(@"p:\roslyn3\artifacts\log\Debug\Build.binlog");
var root = @"p:\roslyn3";
var sourceFileSet = new HashSet<string>(StringComparer.OrdinalIgnoreCase);
build.VisitAllChildren<CscTask>(cscTask =>
Definition 7 days 14 days 30 days
[All Builds] 1.6% (85/5304) 1.2% (122/10459) 1.0% (213/22353)
aspnetcore-ci 4.2% (44/1050)
aspnetcore-helix-matrix 7.1% (1/14) 3.2% (1/31) 4.2% (3/72)
aspnetcore-quarantined-pr 1.4% (14/1027)
aspnetcore-quarantined-tests 14.3% (1/7) 7.1% (1/14) 10.0% (3/30)
aspnetcore-tooling-ci 1.3% (1/79) 0.6% (1/174) 0.3% (1/304)
coreclr-ci 14.3% (2/14) 9.1% (2/22)
dotnet.format 3.1% (1/32) 1.4% (1/72)
@jaredpar
jaredpar / data3.md
Last active September 29, 2020 00:03

|---|---|---|---| |All Builds|1.6 86 5306|1.2 123 10453|1.0 214 22348|

|---|---|---|---| |[All Builds]|1.6% 86 / 5306|1.2% 123 / 10453|1.0% 214 / 22348| |aspnetcore-ci|||4.2% 44 / 1050| |aspnetcore-helix-matrix|6.7% 1 / 15|3.2% 1 / 31|4.1% 3 / 73| |aspnetcore-quarantined-pr|||1.4% 14 / 1028| |aspnetcore-quarantined-tests|14.3% 1 / 7|7.1% 1 / 14|10.0% 3 / 30| |aspnetcore-tooling-ci|1.3% 1 / 78|0.6% 1 / 174|0.3% 1 / 303| |coreclr-ci||14.3% 2 / 14|9.1% 2 / 22| |dotnet.format||3.1% 1 / 32|1.4% 1 / 72| |dotnet-linker-tests|1.1% 5 / 470|0.5% 5 / 910|0.3% 5 / 1951|

@jaredpar
jaredpar / data2.md
Last active September 28, 2020 23:57
Definition 7 days 14 days 30 days
[All Builds] 86 - 1.6% 123 - 1.2% 214 - 1.0%
aspnetcore-ci 44 - 4.2%
aspnetcore-helix-matrix 1 - 6.7% 1 - 3.1% 3 - 4.1%
aspnetcore-quarantined-pr 14 - 1.4%
aspnetcore-quarantined-tests 1 - 14.3% 1 - 7.1% 3 - 10.0%
aspnetcore-tooling-ci 1 - 1.3% 1 - 0.6% 1 - 0.3%
coreclr-ci 2 - 14.3% 2 - 9.1%
dotnet.format 1 - 3.1% 1 - 1.4%
Definition 7 days 14 days 30 days
[All Builds] 1.6% 1.2% 1.0%
aspnetcore-ci 4.2%
aspnetcore-helix-matrix 6.7% 3.1% 4.1%
aspnetcore-quarantined-pr 1.4%
aspnetcore-quarantined-tests 14.3% 7.1% 10.0%
aspnetcore-tooling-ci 1.3% 0.6% 0.3%
coreclr-ci 14.3% 9.1%
dotnet.format 3.1% 1.4%
namespace rewrite_code
{
class Program
{
static void Main(string[] args)
{
foreach (var filePath in File.ReadAllLines(@"p:\temp\files.txt"))
{
if (filePath.Contains(@"artifacts\obj"))
{