diff --git a/scripts/GenBenchmarkPage.ps1 b/scripts/GenBenchmarkPage.ps1 index 5f1f32a..d2870ce 100644 --- a/scripts/GenBenchmarkPage.ps1 +++ b/scripts/GenBenchmarkPage.ps1 @@ -2,6 +2,7 @@ Push-Location $SolutionDir if (!(Test-Path -PathType Container $BenchmarkResultPageDir)) { New-Item -ItemType Directory -Path $BenchmarkResultPageDir } Copy-Item $BenchmarkArtifactsDir\results\*.html $BenchmarkResultPageDir +Get-ChildItem -Recurse -Force . dotnet run --project .\BenchmarkResultPageGenerator\BenchmarkResultPageGenerator.csproj $BenchmarkArtifactsDir\results $BenchmarkResultPageDir\index.html if (!$?) { throw } Pop-Location diff --git a/src/NullGC.DragRace/Configs.cs b/src/NullGC.DragRace/Configs.cs index 46a72ad..dfa79d5 100644 --- a/src/NullGC.DragRace/Configs.cs +++ b/src/NullGC.DragRace/Configs.cs @@ -59,7 +59,7 @@ internal class CicdConfig : ConfigBase { public CicdConfig() { - AddJob(Job.ShortRun)//.WithArguments(new[] {new MsBuildArgument("/p:Platform=x64")})) + AddJob(Job.MediumRun)//.WithArguments(new[] {new MsBuildArgument("/p:Platform=x64")})) .AddDiagnoser(new MemoryDiagnoser(new MemoryDiagnoserConfig(true))) .AddExporter(new JsonExporter()).AddExporter(new HtmlExporter()) .AddColumnProvider(DefaultColumnProviders.Instance) diff --git a/src/NullGC.DragRace/Program.cs b/src/NullGC.DragRace/Program.cs index 51cdfb3..0e36176 100644 --- a/src/NullGC.DragRace/Program.cs +++ b/src/NullGC.DragRace/Program.cs @@ -6,9 +6,11 @@ using NullGC.DragRace; using NullGC.DragRace.Benchmarks; #if CICD +Console.Error.WriteLine("Running on CICD profile."); BenchmarkRunner.Run( Assembly.GetExecutingAssembly().GetExportedTypes() .Where(t => t.CustomAttributes.Any(a => a.AttributeType == typeof(PickedForCicd))).ToArray(), new CicdConfig()); +return; #else var types = args.Select(Type.GetType).Where(x => x is not null).ToArray();