public CustomConfig() { foreach (var fork in PathToForks) { if (!Directory.Exists(fork.PathToPackages)) { Directory.CreateDirectory(fork.PathToPackages); } Add(GetJob().With( CustomCoreClrToolchain.CreateBuilder() .UseCoreClrLocalBuild(fork.CoreClrVersion, Path.Combine(fork.PathToClr, @"bin\Product\Windows_NT.x64.Release\.nuget\pkg"), fork.PathToPackages) .UseCoreFxLocalBuild(fork.CoreFxVersion, Path.Combine(fork.PathToCoreFx, @"artifacts\packages\Release")) .DisplayName(fork.DisplayName) .ToToolchain())); } Add(GetJob()); if (ShowMemory) { Add(new MemoryDiagnoser()); } /*Add(new MemoryDiagnoser()); * Add(JitOptimizationsValidator.FailOnError); * Add(RPlotExporter.Default);*/ }
public CoreClrConfig() { var job = Job.MediumRun.With( CustomCoreClrToolchain.CreateBuilder() .UseCoreClrNuGet("3.0.0-preview1-26814-05", "https://dotnet.myget.org/F/dotnet-core/api/v3/index.json") .UseCoreFxNuGet("4.6.0-preview1-26814-05", "https://dotnet.myget.org/F/dotnet-core/api/v3/index.json") .TargetFrameworkMoniker("netcoreapp3.0") .DisplayName("Net Core 3.0") .RuntimeIdentifier("win-x64") .ToToolchain()) .WithGcServer(true) .WithIterationCount(23) .WithLaunchCount(1) .WithWarmupCount(5); Add(job.With( new List <EnvironmentVariable>() { new EnvironmentVariable("COMPlus_EnableAVX", "0"), new EnvironmentVariable("COMPlus_TieredCompilation", "0") })); //DefaultConfig.Instance.With() Add(DefaultConfig.Instance.GetExporters().ToArray()); Add(DefaultConfig.Instance.GetLoggers().ToArray()); Add(DefaultConfig.Instance.GetColumnProviders().ToArray()); var diagnoser = new DisassemblyDiagnoserConfig( printAsm: true, printSource: true, printPrologAndEpilog: true, recursiveDepth: 2); Add(DisassemblyDiagnoser.Create(diagnoser)); }
public void CanBenchmarkGivenCoreClrAndCoreFxMyGetBuilds() { var config = ManualConfig.CreateEmpty() .With(Job.Dry.With( CustomCoreClrToolchain.CreateBuilder() .UseCoreFxNuGet("4.5.0-preview3-26330-06") .UseCoreClrNuGet("2.1.0-preview3-26329-08") .ToToolchain())); CanExecute <Check_4_6_26329_08_CoreClrAnd_4_6_26330_06_CoreFxVersions>(config); }
public void CanBenchmarkGivenCoreClrMyGetBuild() { var config = ManualConfig.CreateEmpty() .With(Job.Dry.With( CustomCoreClrToolchain.CreateBuilder() .UseCoreFxDefault() .UseCoreClrNuGet("2.1.0-preview3-26329-08") .ToToolchain())); CanExecute <Check_4_6_26329_08_CoreClrVersion>(config); }
//[FactDotNetCoreOnly(skipReason: WeRunTheseTestsForNetCoreOnlyBecauseTheyTakeALotOfTime)] public void CanBenchmarkGivenCoreClrAndCoreFxMyGetBuilds() { var config = ManualConfig.CreateEmpty() .With(Job.Dry.With( CustomCoreClrToolchain.CreateBuilder() .UseCoreFxNuGet("4.5.0-rtm-26531-02") .UseCoreClrNuGet("2.1.0-rtm-26528-02") .ToToolchain())); CanExecute <Check_4_6_6528_02_CoreClrAnd_4_6_26531_02_CoreFxVersions>(config); }
public void CanBenchmarkLocalCoreFxWithDefaultCoreClr() { var config = ManualConfig.CreateEmpty() .With(Job.Dry.With( CustomCoreClrToolchain.CreateBuilder() .UseCoreFxLocalBuild(PrivateCoreFxNetCoreAppVersion, CoreFxBinPackagesPath) .UseCoreClrDefault() .UseNuGetClearTag(false) .ToToolchain())); CanExecute <CheckLocalCoreFxVersion>(config); }
public void CanBenchmarkLocalCoreClrAndMyGetCoreFx() { var config = ManualConfig.CreateEmpty() .With(Job.Dry.With( CustomCoreClrToolchain.CreateBuilder() .UseCoreFxNuGet("4.5.0-preview3-26403-04") .UseCoreClrLocalBuild(CoreClrVersion, CoreClrBinPackagesPath, CoreClrPackagesPath) .UseNuGetClearTag(false) .ToToolchain())); CanExecute <CheckLocalCoreClrAnd_4_6_26403_04_CoreFxVersions>(config); }
public void CanBenchmarkFullDotNetCoreStack() { var config = ManualConfig.CreateEmpty() .With(Job.Dry.With( CustomCoreClrToolchain.CreateBuilder() .UseCoreFxLocalBuild(PrivateCoreFxNetCoreAppVersion, CoreFxBinPackagesPath) .UseCoreClrLocalBuild(CoreClrVersion, CoreClrBinPackagesPath, CoreClrPackagesPath) .UseNuGetClearTag(false) // it should be removed after we add BDN to the dotnet/coreclr/dependencies.props file so all packages can be restored from CoreClrPackagesPath .ToToolchain())); CanExecute <CheckLocalCoreClrAndCoreFxVersions>(config); }