mawosoft / Mawosoft.Extensions.BenchmarkDotNet

An extensions library for BenchmarkDotNet
https://mawosoft.github.io/Mawosoft.Extensions.BenchmarkDotNet/
MIT License
0 stars 0 forks source link

New breaking change: BenchmarkDotNet `0.13.1.1732` #37

Closed github-actions[bot] closed 2 years ago

github-actions[bot] commented 2 years ago

BenchmarkDotNet 0.13.1.1729 <-> 0.13.1.1732

BenchmarkDotNet.dll [netstandard2.0]

Breaking # API diff: BenchmarkDotNet.dll ## BenchmarkDotNet.dll > Assembly Version Changed: 0.13.1.1732 vs 0.13.1.1729 ### Namespace BenchmarkDotNet.Toolchains.Results #### Type Changed: BenchmarkDotNet.Toolchains.Results.GenerateResult Removed constructor: ```csharp public GenerateResult (BenchmarkDotNet.Toolchains.ArtifactsPaths artifactsPaths, bool isGenerateSuccess, System.Exception generateException, System.Collections.Generic.IReadOnlyCollection artifactsToCleanup); ``` Removed method: ```csharp public static GenerateResult Success (BenchmarkDotNet.Toolchains.ArtifactsPaths artifactsPaths, System.Collections.Generic.IReadOnlyCollection artifactsToCleanup); ```
Diff # API diff: BenchmarkDotNet.dll ## BenchmarkDotNet.dll > Assembly Version Changed: 0.13.1.1732 vs 0.13.1.1729 ### Namespace BenchmarkDotNet.Configs #### Type Changed: BenchmarkDotNet.Configs.ConfigOptions Added value: ```csharp JustBuild = 128, ``` ### Namespace BenchmarkDotNet.ConsoleArguments #### Type Changed: BenchmarkDotNet.ConsoleArguments.CommandLineOptions Added property: ```csharp public bool JustBuild { get; set; } ``` ### Namespace BenchmarkDotNet.Toolchains.Results #### Type Changed: BenchmarkDotNet.Toolchains.Results.GenerateResult Removed constructor: ```csharp public GenerateResult (BenchmarkDotNet.Toolchains.ArtifactsPaths artifactsPaths, bool isGenerateSuccess, System.Exception generateException, System.Collections.Generic.IReadOnlyCollection artifactsToCleanup); ``` Added constructor: ```csharp public GenerateResult (BenchmarkDotNet.Toolchains.ArtifactsPaths artifactsPaths, bool isGenerateSuccess, System.Exception generateException, System.Collections.Generic.IReadOnlyCollection artifactsToCleanup, bool noAcknowledgments); ``` Added property: ```csharp public bool NoAcknowledgments { get; } ``` Removed method: ```csharp public static GenerateResult Success (BenchmarkDotNet.Toolchains.ArtifactsPaths artifactsPaths, System.Collections.Generic.IReadOnlyCollection artifactsToCleanup); ``` Added method: ```csharp public static GenerateResult Success (BenchmarkDotNet.Toolchains.ArtifactsPaths artifactsPaths, System.Collections.Generic.IReadOnlyCollection artifactsToCleanup, bool noAcknowledgments); ```

BenchmarkDotNet 0.13.1 <-> 0.13.1.1732

BenchmarkDotNet.dll [netstandard2.0]

Breaking # API diff: BenchmarkDotNet.dll ## BenchmarkDotNet.dll > Assembly Version Changed: 0.13.1.1732 vs 0.13.1.0 ### Namespace BenchmarkDotNet.Analysers #### Type Changed: BenchmarkDotNet.Analysers.ConclusionHelper Removed method: ```csharp public static void Print (BenchmarkDotNet.Loggers.ILogger logger, System.Collections.Generic.List conclusions); ``` ### Namespace BenchmarkDotNet.ConsoleArguments #### Type Changed: BenchmarkDotNet.ConsoleArguments.CommandLineOptions Removed properties: ```csharp public System.IO.DirectoryInfo RuntimeSrcDir { get; set; } public System.IO.FileInfo WasmMainJs { get; set; } ``` ### Namespace BenchmarkDotNet.Diagnosers #### Type Changed: BenchmarkDotNet.Diagnosers.DiagnoserResults Removed constructor: ```csharp public DiagnoserResults (BenchmarkDotNet.Running.BenchmarkCase benchmarkCase, long totalOperations, BenchmarkDotNet.Engines.GcStats gcStats, BenchmarkDotNet.Engines.ThreadingStats threadingStats, BenchmarkDotNet.Toolchains.Results.BuildResult buildResult); ``` ### Namespace BenchmarkDotNet.Environments #### Type Changed: BenchmarkDotNet.Environments.WasmRuntime Removed constructor: ```csharp public WasmRuntime (System.IO.FileInfo mainJs, string msBuildMoniker, string displayName, string javaScriptEngine, string javaScriptEngineArguments, bool aot, System.IO.DirectoryInfo runtimeSrcDir); ``` Removed properties: ```csharp public System.IO.FileInfo MainJs { get; } public System.IO.DirectoryInfo RuntimeSrcDir { get; } ``` ### Namespace BenchmarkDotNet.Jobs #### Type Changed: BenchmarkDotNet.Jobs.EnvironmentMode Modified fields: ```diff -public readonly BenchmarkDotNet.Characteristics.Characteristic PowerPlanModeCharacteristic; +public readonly BenchmarkDotNet.Characteristics.Characteristic> PowerPlanModeCharacteristic; ``` Modified properties: ```diff -public System.Guid PowerPlanMode { get; set; } +public System.Guid? PowerPlanMode { get; set; } ``` ### Namespace BenchmarkDotNet.Order #### Type Changed: BenchmarkDotNet.Order.DefaultOrderer Removed methods: ```csharp public virtual System.Collections.Generic.IEnumerable GetExecutionOrder (System.Collections.Immutable.ImmutableArray benchmarkCases); public virtual System.Collections.Generic.IEnumerable> GetLogicalGroupOrder (System.Collections.Generic.IEnumerable> logicalGroups); ``` #### Type Changed: BenchmarkDotNet.Order.IOrderer Removed methods: ```csharp public virtual System.Collections.Generic.IEnumerable GetExecutionOrder (System.Collections.Immutable.ImmutableArray benchmarksCase); public virtual System.Collections.Generic.IEnumerable> GetLogicalGroupOrder (System.Collections.Generic.IEnumerable> logicalGroups); ``` ### Namespace BenchmarkDotNet.Properties #### Type Changed: BenchmarkDotNet.Properties.BenchmarkDotNetInfo Modified fields: ```diff -public const string PrereleaseLabel = ""; +public const string PrereleaseLabel = "-nightly"; ``` ### Namespace BenchmarkDotNet.Reports #### Type Changed: BenchmarkDotNet.Reports.BenchmarkReport Removed constructor: ```csharp public BenchmarkReport (bool success, BenchmarkDotNet.Running.BenchmarkCase benchmarkCase, BenchmarkDotNet.Toolchains.Results.GenerateResult generateResult, BenchmarkDotNet.Toolchains.Results.BuildResult buildResult, System.Collections.Generic.IReadOnlyList executeResults, System.Collections.Generic.IReadOnlyList allMeasurements, BenchmarkDotNet.Engines.GcStats gcStats, System.Collections.Generic.IReadOnlyList metrics); ``` #### Type Changed: BenchmarkDotNet.Reports.Measurement Removed method: ```csharp public static Measurement Parse (BenchmarkDotNet.Loggers.ILogger logger, string line, int processIndex); ``` ### Namespace BenchmarkDotNet.Toolchains.CoreRun #### Type Changed: BenchmarkDotNet.Toolchains.CoreRun.CoreRunPublisher Removed constructor: ```csharp public CoreRunPublisher (System.IO.FileInfo coreRun, System.IO.FileInfo customDotNetCliPath, System.TimeSpan? timeout); ``` #### Type Changed: BenchmarkDotNet.Toolchains.CoreRun.CoreRunToolchain Removed constructor: ```csharp public CoreRunToolchain (System.IO.FileInfo coreRun, bool createCopy, string targetFrameworkMoniker, System.IO.FileInfo customDotNetCliPath, System.IO.DirectoryInfo restorePath, string displayName, System.TimeSpan? timeout); ``` ### Namespace BenchmarkDotNet.Toolchains.CsProj #### Type Changed: BenchmarkDotNet.Toolchains.CsProj.CsProjClassicNetToolchain Removed method: ```csharp public static BenchmarkDotNet.Toolchains.IToolchain From (string targetFrameworkMoniker, string packagesPath, System.TimeSpan? timeout); ``` ### Namespace BenchmarkDotNet.Toolchains.DotNetCli #### Type Changed: BenchmarkDotNet.Toolchains.DotNetCli.CustomDotNetCliToolchainBuilder Removed field: ```csharp protected System.TimeSpan? timeout; ``` Removed method: ```csharp public CustomDotNetCliToolchainBuilder Timeout (System.TimeSpan timeout); ``` #### Type Changed: BenchmarkDotNet.Toolchains.DotNetCli.DotNetCliBuilder Removed constructor: ```csharp public DotNetCliBuilder (string targetFrameworkMoniker, string customDotNetCliPath, System.TimeSpan? timeout); ``` #### Type Changed: BenchmarkDotNet.Toolchains.DotNetCli.DotNetCliCommand Removed constructor: ```csharp public DotNetCliCommand (string cliPath, string arguments, BenchmarkDotNet.Toolchains.Results.GenerateResult generateResult, BenchmarkDotNet.Loggers.ILogger logger, BenchmarkDotNet.Running.BuildPartition buildPartition, System.Collections.Generic.IReadOnlyList environmentVariables, System.TimeSpan timeout); ``` #### Type Changed: BenchmarkDotNet.Toolchains.DotNetCli.DotNetCliPublisher Removed constructor: ```csharp public DotNetCliPublisher (string customDotNetCliPath, string extraArguments, System.Collections.Generic.IReadOnlyList environmentVariables, System.TimeSpan? timeout); ``` #### Type Changed: BenchmarkDotNet.Toolchains.DotNetCli.NetCoreAppSettings Removed constructor: ```csharp public NetCoreAppSettings (string targetFrameworkMoniker, string runtimeFrameworkVersion, string name, string customDotNetCliPath, string packagesPath, System.TimeSpan? timeout, string customRuntimePack, string aotCompilerPath, BenchmarkDotNet.Toolchains.MonoAotLLVM.MonoAotCompilerMode aotCompilerMode); ``` Removed field: ```csharp public static System.TimeSpan DefaultBuildTimeout; ``` Removed property: ```csharp public System.TimeSpan Timeout { get; } ``` Removed method: ```csharp public NetCoreAppSettings WithTimeout (System.TimeSpan? timeOut); ``` ### Namespace BenchmarkDotNet.Toolchains.MonoAotLLVM #### Removed Type BenchmarkDotNet.Toolchains.MonoAotLLVM.MonoAotLLVMBuilder ### Namespace BenchmarkDotNet.Toolchains.MonoWasm #### Type Changed: BenchmarkDotNet.Toolchains.MonoWasm.WasmGenerator Removed methods: ```csharp protected void GenerateProjectAot (BenchmarkDotNet.Running.BuildPartition buildPartition, BenchmarkDotNet.Toolchains.ArtifactsPaths artifactsPaths, BenchmarkDotNet.Loggers.ILogger logger); protected void GenerateProjectInterpreter (BenchmarkDotNet.Running.BuildPartition buildPartition, BenchmarkDotNet.Toolchains.ArtifactsPaths artifactsPaths, BenchmarkDotNet.Loggers.ILogger logger); ``` #### Removed Type BenchmarkDotNet.Toolchains.MonoWasm.WasmBuilder ### Namespace BenchmarkDotNet.Toolchains.Parameters #### Type Changed: BenchmarkDotNet.Toolchains.Parameters.ExecuteParameters Removed constructor: ```csharp public ExecuteParameters (BenchmarkDotNet.Toolchains.Results.BuildResult buildResult, BenchmarkDotNet.Running.BenchmarkCase benchmarkCase, BenchmarkDotNet.Running.BenchmarkId benchmarkId, BenchmarkDotNet.Loggers.ILogger logger, BenchmarkDotNet.Characteristics.IResolver resolver, BenchmarkDotNet.Diagnosers.IDiagnoser diagnoser); ``` ### Namespace BenchmarkDotNet.Toolchains.Results #### Type Changed: BenchmarkDotNet.Toolchains.Results.ExecuteResult Removed constructor: ```csharp public ExecuteResult (bool foundExecutable, int? exitCode, int? processId, System.Collections.Generic.IReadOnlyList data, System.Collections.Generic.IReadOnlyList linesWithExtraOutput); ``` Removed property: ```csharp public System.Collections.Generic.IReadOnlyList Data { get; } ``` #### Type Changed: BenchmarkDotNet.Toolchains.Results.GenerateResult Removed constructor: ```csharp public GenerateResult (BenchmarkDotNet.Toolchains.ArtifactsPaths artifactsPaths, bool isGenerateSuccess, System.Exception generateException, System.Collections.Generic.IReadOnlyCollection artifactsToCleanup); ``` Removed method: ```csharp public static GenerateResult Success (BenchmarkDotNet.Toolchains.ArtifactsPaths artifactsPaths, System.Collections.Generic.IReadOnlyCollection artifactsToCleanup); ```
Diff # API diff: BenchmarkDotNet.dll ## BenchmarkDotNet.dll > Assembly Version Changed: 0.13.1.1732 vs 0.13.1.0 ### Namespace BenchmarkDotNet.Analysers #### Type Changed: BenchmarkDotNet.Analysers.ConclusionHelper Removed method: ```csharp public static void Print (BenchmarkDotNet.Loggers.ILogger logger, System.Collections.Generic.List conclusions); ``` Added method: ```csharp public static void Print (BenchmarkDotNet.Loggers.ILogger logger, System.Collections.Generic.IEnumerable conclusions); ``` ### Namespace BenchmarkDotNet.Characteristics #### Type Changed: BenchmarkDotNet.Characteristics.CharacteristicObject Added methods: ```csharp public object ResolveValue (Characteristic characteristic, IResolver resolver, object defaultValue); public T ResolveValue (BenchmarkDotNet.Characteristics.Characteristic characteristic, IResolver resolver, T defaultValue); ``` #### Type Changed: BenchmarkDotNet.Characteristics.CompositeResolver Added methods: ```csharp public virtual object Resolve (CharacteristicObject obj, Characteristic characteristic, object defaultValue); public virtual T Resolve (CharacteristicObject obj, BenchmarkDotNet.Characteristics.Characteristic characteristic, T defaultValue); ``` #### Type Changed: BenchmarkDotNet.Characteristics.IResolver Added methods: ```csharp public virtual object Resolve (CharacteristicObject obj, Characteristic characteristic, object defaultValue); public virtual T Resolve (CharacteristicObject obj, BenchmarkDotNet.Characteristics.Characteristic characteristic, T defaultValue); ``` #### Type Changed: BenchmarkDotNet.Characteristics.Resolver Added methods: ```csharp public virtual object Resolve (CharacteristicObject obj, Characteristic characteristic, object defaultValue); public virtual T Resolve (CharacteristicObject obj, BenchmarkDotNet.Characteristics.Characteristic characteristic, T defaultValue); ``` ### Namespace BenchmarkDotNet.Columns #### Type Changed: BenchmarkDotNet.Columns.BaselineCustomColumn Modified properties: ```diff public virtual ---final--- ColumnCategory Category { get; } ``` #### Type Changed: BenchmarkDotNet.Columns.UnitType Added value: ```csharp CodeSize = 3, ``` #### New Type: BenchmarkDotNet.Columns.BaselineAllocationRatioColumn ```csharp public class BaselineAllocationRatioColumn : BenchmarkDotNet.Columns.BaselineCustomColumn, IColumn { // constructors public BaselineAllocationRatioColumn (); // properties public override ColumnCategory Category { get; } public override string ColumnName { get; } public override string Id { get; } public override bool IsNumeric { get; } public override string Legend { get; } public override int PriorityInCategory { get; } public override UnitType UnitType { get; } // methods public override string GetValue (BenchmarkDotNet.Reports.Summary summary, BenchmarkDotNet.Running.BenchmarkCase benchmarkCase, BenchmarkDotNet.Mathematics.Statistics baseline, System.Collections.Generic.IReadOnlyDictionary baselineMetrics, BenchmarkDotNet.Mathematics.Statistics current, System.Collections.Generic.IReadOnlyDictionary currentMetrics, bool isBaseline); } ``` ### Namespace BenchmarkDotNet.Configs #### Type Changed: BenchmarkDotNet.Configs.ConfigOptions Added values: ```csharp JustBuild = 128, LogBuildOutput = 64, ``` #### Type Changed: BenchmarkDotNet.Configs.DebugConfig Added properties: ```csharp public virtual System.TimeSpan BuildTimeout { get; } public virtual System.Collections.Generic.IReadOnlyList ConfigAnalysisConclusion { get; } ``` #### Type Changed: BenchmarkDotNet.Configs.DefaultConfig Added properties: ```csharp public virtual System.TimeSpan BuildTimeout { get; } public virtual System.Collections.Generic.IReadOnlyList ConfigAnalysisConclusion { get; } ``` #### Type Changed: BenchmarkDotNet.Configs.IConfig Added properties: ```csharp public virtual System.TimeSpan BuildTimeout { get; } public virtual System.Collections.Generic.IReadOnlyList ConfigAnalysisConclusion { get; } ``` #### Type Changed: BenchmarkDotNet.Configs.ImmutableConfig Added properties: ```csharp public virtual System.TimeSpan BuildTimeout { get; } public virtual System.Collections.Generic.IReadOnlyList ConfigAnalysisConclusion { get; } ``` #### Type Changed: BenchmarkDotNet.Configs.ManualConfig Added properties: ```csharp public override System.TimeSpan BuildTimeout { get; set; } public virtual System.Collections.Generic.IReadOnlyList ConfigAnalysisConclusion { get; } ``` Added method: ```csharp public ManualConfig WithBuildTimeout (System.TimeSpan buildTimeout); ``` ### Namespace BenchmarkDotNet.ConsoleArguments #### Type Changed: BenchmarkDotNet.ConsoleArguments.CommandLineOptions Removed properties: ```csharp public System.IO.DirectoryInfo RuntimeSrcDir { get; set; } public System.IO.FileInfo WasmMainJs { get; set; } ``` Added properties: ```csharp public bool JustBuild { get; set; } public bool LogBuildOutput { get; set; } public System.IO.DirectoryInfo WasmDataDirectory { get; set; } ``` ### Namespace BenchmarkDotNet.Diagnosers #### Type Changed: BenchmarkDotNet.Diagnosers.CompositeDiagnoser Added method: ```csharp public virtual bool RequiresBlockingAcknowledgments (BenchmarkDotNet.Running.BenchmarkCase benchmarkCase); ``` #### Type Changed: BenchmarkDotNet.Diagnosers.DiagnoserResults Removed constructor: ```csharp public DiagnoserResults (BenchmarkDotNet.Running.BenchmarkCase benchmarkCase, long totalOperations, BenchmarkDotNet.Engines.GcStats gcStats, BenchmarkDotNet.Engines.ThreadingStats threadingStats, BenchmarkDotNet.Toolchains.Results.BuildResult buildResult); ``` Added constructor: ```csharp public DiagnoserResults (BenchmarkDotNet.Running.BenchmarkCase benchmarkCase, BenchmarkDotNet.Toolchains.Results.ExecuteResult executeResult, BenchmarkDotNet.Toolchains.Results.BuildResult buildResult); ``` #### Type Changed: BenchmarkDotNet.Diagnosers.DisassemblyDiagnoser Added method: ```csharp public virtual bool RequiresBlockingAcknowledgments (BenchmarkDotNet.Running.BenchmarkCase benchmarkCase); ``` #### Type Changed: BenchmarkDotNet.Diagnosers.EventPipeProfiler Added method: ```csharp public virtual bool RequiresBlockingAcknowledgments (BenchmarkDotNet.Running.BenchmarkCase benchmarkCase); ``` #### Type Changed: BenchmarkDotNet.Diagnosers.IDiagnoser Added method: ```csharp public virtual bool RequiresBlockingAcknowledgments (BenchmarkDotNet.Running.BenchmarkCase benchmarkCase); ``` #### Type Changed: BenchmarkDotNet.Diagnosers.MemoryDiagnoser Added method: ```csharp public virtual bool RequiresBlockingAcknowledgments (BenchmarkDotNet.Running.BenchmarkCase benchmarkCase); ``` #### Type Changed: BenchmarkDotNet.Diagnosers.ThreadingDiagnoser Added method: ```csharp public virtual bool RequiresBlockingAcknowledgments (BenchmarkDotNet.Running.BenchmarkCase benchmarkCase); ``` #### Type Changed: BenchmarkDotNet.Diagnosers.UnresolvedDiagnoser Added method: ```csharp public virtual bool RequiresBlockingAcknowledgments (BenchmarkDotNet.Running.BenchmarkCase benchmarkCase); ``` ### Namespace BenchmarkDotNet.Environments #### Type Changed: BenchmarkDotNet.Environments.CoreRtRuntime Added field: ```csharp public static CoreRtRuntime CoreRt70; ``` #### Type Changed: BenchmarkDotNet.Environments.CoreRuntime Added field: ```csharp public static CoreRuntime Core70; ``` #### Type Changed: BenchmarkDotNet.Environments.WasmRuntime Removed constructor: ```csharp public WasmRuntime (System.IO.FileInfo mainJs, string msBuildMoniker, string displayName, string javaScriptEngine, string javaScriptEngineArguments, bool aot, System.IO.DirectoryInfo runtimeSrcDir); ``` Added constructor: ```csharp public WasmRuntime (string msBuildMoniker, string displayName, string javaScriptEngine, string javaScriptEngineArguments, bool aot, string wasmDataDir, BenchmarkDotNet.Jobs.RuntimeMoniker moniker); ``` Removed properties: ```csharp public System.IO.FileInfo MainJs { get; } public System.IO.DirectoryInfo RuntimeSrcDir { get; } ``` Added property: ```csharp public string WasmDataDir { get; } ``` ### Namespace BenchmarkDotNet.Jobs #### Type Changed: BenchmarkDotNet.Jobs.EnvironmentMode Modified fields: ```diff -public readonly BenchmarkDotNet.Characteristics.Characteristic PowerPlanModeCharacteristic; +public readonly BenchmarkDotNet.Characteristics.Characteristic> PowerPlanModeCharacteristic; ``` Modified properties: ```diff -public System.Guid PowerPlanMode { get; set; } +public System.Guid? PowerPlanMode { get; set; } ``` ### Namespace BenchmarkDotNet.Order #### Type Changed: BenchmarkDotNet.Order.DefaultOrderer Removed methods: ```csharp public virtual System.Collections.Generic.IEnumerable GetExecutionOrder (System.Collections.Immutable.ImmutableArray benchmarkCases); public virtual System.Collections.Generic.IEnumerable> GetLogicalGroupOrder (System.Collections.Generic.IEnumerable> logicalGroups); ``` Added methods: ```csharp public virtual System.Collections.Generic.IEnumerable GetExecutionOrder (System.Collections.Immutable.ImmutableArray benchmarkCases, System.Collections.Generic.IEnumerable order); public virtual System.Collections.Generic.IEnumerable> GetLogicalGroupOrder (System.Collections.Generic.IEnumerable> logicalGroups, System.Collections.Generic.IEnumerable order); ``` #### Type Changed: BenchmarkDotNet.Order.IOrderer Removed methods: ```csharp public virtual System.Collections.Generic.IEnumerable GetExecutionOrder (System.Collections.Immutable.ImmutableArray benchmarksCase); public virtual System.Collections.Generic.IEnumerable> GetLogicalGroupOrder (System.Collections.Generic.IEnumerable> logicalGroups); ``` Added methods: ```csharp public virtual System.Collections.Generic.IEnumerable GetExecutionOrder (System.Collections.Immutable.ImmutableArray benchmarksCase, System.Collections.Generic.IEnumerable order); public virtual System.Collections.Generic.IEnumerable> GetLogicalGroupOrder (System.Collections.Generic.IEnumerable> logicalGroups, System.Collections.Generic.IEnumerable order); ``` ### Namespace BenchmarkDotNet.Properties #### Type Changed: BenchmarkDotNet.Properties.BenchmarkDotNetInfo Modified fields: ```diff -public const string PrereleaseLabel = ""; +public const string PrereleaseLabel = "-nightly"; ``` ### Namespace BenchmarkDotNet.Reports #### Type Changed: BenchmarkDotNet.Reports.BenchmarkReport Removed constructor: ```csharp public BenchmarkReport (bool success, BenchmarkDotNet.Running.BenchmarkCase benchmarkCase, BenchmarkDotNet.Toolchains.Results.GenerateResult generateResult, BenchmarkDotNet.Toolchains.Results.BuildResult buildResult, System.Collections.Generic.IReadOnlyList executeResults, System.Collections.Generic.IReadOnlyList allMeasurements, BenchmarkDotNet.Engines.GcStats gcStats, System.Collections.Generic.IReadOnlyList metrics); ``` Added constructor: ```csharp public BenchmarkReport (bool success, BenchmarkDotNet.Running.BenchmarkCase benchmarkCase, BenchmarkDotNet.Toolchains.Results.GenerateResult generateResult, BenchmarkDotNet.Toolchains.Results.BuildResult buildResult, System.Collections.Generic.IReadOnlyList executeResults, System.Collections.Generic.IReadOnlyList metrics); ``` #### Type Changed: BenchmarkDotNet.Reports.Measurement Removed method: ```csharp public static Measurement Parse (BenchmarkDotNet.Loggers.ILogger logger, string line, int processIndex); ``` Added method: ```csharp public static Measurement Parse (string line, int processIndex); ``` ### Namespace BenchmarkDotNet.Running #### Type Changed: BenchmarkDotNet.Running.BenchmarkRunner Added method: ```csharp public static BenchmarkDotNet.Reports.Summary[] Run (System.Type[] types, BenchmarkDotNet.Configs.IConfig config, string[] args); ``` #### Type Changed: BenchmarkDotNet.Running.BuildPartition Added properties: ```csharp public bool LogBuildOutput { get; } public bool NoAcknowledgments { get; } public System.TimeSpan Timeout { get; } ``` #### New Type: BenchmarkDotNet.Running.TypeFilter ```csharp public static class TypeFilter { // methods public static BenchmarkRunInfo[] Filter (BenchmarkDotNet.Configs.IConfig effectiveConfig, System.Collections.Generic.IEnumerable types); public static System.ValueTuple> GetTypesWithRunnableBenchmarks (System.Collections.Generic.IEnumerable types, System.Collections.Generic.IEnumerable assemblies, BenchmarkDotNet.Loggers.ILogger logger); } ``` ### Namespace BenchmarkDotNet.Toolchains.CoreRt #### Type Changed: BenchmarkDotNet.Toolchains.CoreRt.CoreRtToolchain Added field: ```csharp public static BenchmarkDotNet.Toolchains.IToolchain Core70; ``` Added method: ```csharp public static string GetExtraArguments (bool useCppCodeGenerator, string runtimeIdentifier); ``` ### Namespace BenchmarkDotNet.Toolchains.CoreRun #### Type Changed: BenchmarkDotNet.Toolchains.CoreRun.CoreRunPublisher Removed constructor: ```csharp public CoreRunPublisher (System.IO.FileInfo coreRun, System.IO.FileInfo customDotNetCliPath, System.TimeSpan? timeout); ``` Added constructor: ```csharp public CoreRunPublisher (System.IO.FileInfo coreRun, System.IO.FileInfo customDotNetCliPath); ``` #### Type Changed: BenchmarkDotNet.Toolchains.CoreRun.CoreRunToolchain Removed constructor: ```csharp public CoreRunToolchain (System.IO.FileInfo coreRun, bool createCopy, string targetFrameworkMoniker, System.IO.FileInfo customDotNetCliPath, System.IO.DirectoryInfo restorePath, string displayName, System.TimeSpan? timeout); ``` Added constructor: ```csharp public CoreRunToolchain (System.IO.FileInfo coreRun, bool createCopy, string targetFrameworkMoniker, System.IO.FileInfo customDotNetCliPath, System.IO.DirectoryInfo restorePath, string displayName); ``` ### Namespace BenchmarkDotNet.Toolchains.CsProj #### Type Changed: BenchmarkDotNet.Toolchains.CsProj.CsProjClassicNetToolchain Removed method: ```csharp public static BenchmarkDotNet.Toolchains.IToolchain From (string targetFrameworkMoniker, string packagesPath, System.TimeSpan? timeout); ``` Added method: ```csharp public static BenchmarkDotNet.Toolchains.IToolchain From (string targetFrameworkMoniker, string packagesPath); ``` #### Type Changed: BenchmarkDotNet.Toolchains.CsProj.CsProjCoreToolchain Added field: ```csharp public static BenchmarkDotNet.Toolchains.IToolchain NetCoreApp70; ``` ### Namespace BenchmarkDotNet.Toolchains.DotNetCli #### Type Changed: BenchmarkDotNet.Toolchains.DotNetCli.CustomDotNetCliToolchainBuilder Removed field: ```csharp protected System.TimeSpan? timeout; ``` Removed method: ```csharp public CustomDotNetCliToolchainBuilder Timeout (System.TimeSpan timeout); ``` #### Type Changed: BenchmarkDotNet.Toolchains.DotNetCli.DotNetCliBuilder Removed constructor: ```csharp public DotNetCliBuilder (string targetFrameworkMoniker, string customDotNetCliPath, System.TimeSpan? timeout); ``` Added constructor: ```csharp public DotNetCliBuilder (string targetFrameworkMoniker, string customDotNetCliPath, bool logOutput); ``` #### Type Changed: BenchmarkDotNet.Toolchains.DotNetCli.DotNetCliCommand Removed constructor: ```csharp public DotNetCliCommand (string cliPath, string arguments, BenchmarkDotNet.Toolchains.Results.GenerateResult generateResult, BenchmarkDotNet.Loggers.ILogger logger, BenchmarkDotNet.Running.BuildPartition buildPartition, System.Collections.Generic.IReadOnlyList environmentVariables, System.TimeSpan timeout); ``` Added constructor: ```csharp public DotNetCliCommand (string cliPath, string arguments, BenchmarkDotNet.Toolchains.Results.GenerateResult generateResult, BenchmarkDotNet.Loggers.ILogger logger, BenchmarkDotNet.Running.BuildPartition buildPartition, System.Collections.Generic.IReadOnlyList environmentVariables, System.TimeSpan timeout, bool logOutput); ``` Added property: ```csharp public bool LogOutput { get; } ``` #### Type Changed: BenchmarkDotNet.Toolchains.DotNetCli.DotNetCliPublisher Removed constructor: ```csharp public DotNetCliPublisher (string customDotNetCliPath, string extraArguments, System.Collections.Generic.IReadOnlyList environmentVariables, System.TimeSpan? timeout); ``` Added constructor: ```csharp public DotNetCliPublisher (string customDotNetCliPath, string extraArguments, System.Collections.Generic.IReadOnlyList environmentVariables); ``` #### Type Changed: BenchmarkDotNet.Toolchains.DotNetCli.NetCoreAppSettings Removed constructor: ```csharp public NetCoreAppSettings (string targetFrameworkMoniker, string runtimeFrameworkVersion, string name, string customDotNetCliPath, string packagesPath, System.TimeSpan? timeout, string customRuntimePack, string aotCompilerPath, BenchmarkDotNet.Toolchains.MonoAotLLVM.MonoAotCompilerMode aotCompilerMode); ``` Added constructor: ```csharp public NetCoreAppSettings (string targetFrameworkMoniker, string runtimeFrameworkVersion, string name, string customDotNetCliPath, string packagesPath, string customRuntimePack, string aotCompilerPath, BenchmarkDotNet.Toolchains.MonoAotLLVM.MonoAotCompilerMode aotCompilerMode); ``` Removed field: ```csharp public static System.TimeSpan DefaultBuildTimeout; ``` Added field: ```csharp public static NetCoreAppSettings NetCoreApp70; ``` Removed property: ```csharp public System.TimeSpan Timeout { get; } ``` Removed method: ```csharp public NetCoreAppSettings WithTimeout (System.TimeSpan? timeOut); ``` ### Namespace BenchmarkDotNet.Toolchains.MonoAotLLVM #### Removed Type BenchmarkDotNet.Toolchains.MonoAotLLVM.MonoAotLLVMBuilder ### Namespace BenchmarkDotNet.Toolchains.MonoWasm #### Type Changed: BenchmarkDotNet.Toolchains.MonoWasm.WasmGenerator Removed methods: ```csharp protected void GenerateProjectAot (BenchmarkDotNet.Running.BuildPartition buildPartition, BenchmarkDotNet.Toolchains.ArtifactsPaths artifactsPaths, BenchmarkDotNet.Loggers.ILogger logger); protected void GenerateProjectInterpreter (BenchmarkDotNet.Running.BuildPartition buildPartition, BenchmarkDotNet.Toolchains.ArtifactsPaths artifactsPaths, BenchmarkDotNet.Loggers.ILogger logger); ``` Added method: ```csharp protected void GenerateProjectFile (BenchmarkDotNet.Running.BuildPartition buildPartition, BenchmarkDotNet.Toolchains.ArtifactsPaths artifactsPaths, bool aot, BenchmarkDotNet.Loggers.ILogger logger); ``` #### Removed Type BenchmarkDotNet.Toolchains.MonoWasm.WasmBuilder ### Namespace BenchmarkDotNet.Toolchains.Parameters #### Type Changed: BenchmarkDotNet.Toolchains.Parameters.ExecuteParameters Removed constructor: ```csharp public ExecuteParameters (BenchmarkDotNet.Toolchains.Results.BuildResult buildResult, BenchmarkDotNet.Running.BenchmarkCase benchmarkCase, BenchmarkDotNet.Running.BenchmarkId benchmarkId, BenchmarkDotNet.Loggers.ILogger logger, BenchmarkDotNet.Characteristics.IResolver resolver, BenchmarkDotNet.Diagnosers.IDiagnoser diagnoser); ``` Added constructor: ```csharp public ExecuteParameters (BenchmarkDotNet.Toolchains.Results.BuildResult buildResult, BenchmarkDotNet.Running.BenchmarkCase benchmarkCase, BenchmarkDotNet.Running.BenchmarkId benchmarkId, BenchmarkDotNet.Loggers.ILogger logger, BenchmarkDotNet.Characteristics.IResolver resolver, int launchIndex, BenchmarkDotNet.Diagnosers.IDiagnoser diagnoser); ``` Added property: ```csharp public int LaunchIndex { get; } ``` ### Namespace BenchmarkDotNet.Toolchains.Results #### Type Changed: BenchmarkDotNet.Toolchains.Results.ExecuteResult Removed constructor: ```csharp public ExecuteResult (bool foundExecutable, int? exitCode, int? processId, System.Collections.Generic.IReadOnlyList data, System.Collections.Generic.IReadOnlyList linesWithExtraOutput); ``` Added constructor: ```csharp public ExecuteResult (bool foundExecutable, int? exitCode, int? processId, System.Collections.Generic.IReadOnlyList data, System.Collections.Generic.IReadOnlyList linesWithExtraOutput, int launchIndex); ``` Removed property: ```csharp public System.Collections.Generic.IReadOnlyList Data { get; } ``` Added properties: ```csharp public System.Collections.Generic.IReadOnlyList Errors { get; } public bool IsSuccess { get; } public System.Collections.Generic.IReadOnlyList Measurements { get; } ``` Added method: ```csharp public void LogIssues (BenchmarkDotNet.Loggers.ILogger logger, BuildResult buildResult); ``` #### Type Changed: BenchmarkDotNet.Toolchains.Results.GenerateResult Removed constructor: ```csharp public GenerateResult (BenchmarkDotNet.Toolchains.ArtifactsPaths artifactsPaths, bool isGenerateSuccess, System.Exception generateException, System.Collections.Generic.IReadOnlyCollection artifactsToCleanup); ``` Added constructor: ```csharp public GenerateResult (BenchmarkDotNet.Toolchains.ArtifactsPaths artifactsPaths, bool isGenerateSuccess, System.Exception generateException, System.Collections.Generic.IReadOnlyCollection artifactsToCleanup, bool noAcknowledgments); ``` Added property: ```csharp public bool NoAcknowledgments { get; } ``` Removed method: ```csharp public static GenerateResult Success (BenchmarkDotNet.Toolchains.ArtifactsPaths artifactsPaths, System.Collections.Generic.IReadOnlyCollection artifactsToCleanup); ``` Added method: ```csharp public static GenerateResult Success (BenchmarkDotNet.Toolchains.ArtifactsPaths artifactsPaths, System.Collections.Generic.IReadOnlyCollection artifactsToCleanup, bool noAcknowledgments); ```
mawosoft commented 2 years ago

Breaks WhatifFilter and ColumnCategory by adding new argument to GenerateResult ctor and static Success method.

mawosoft commented 2 years ago

As for the ongoing #32 problem:

While 1732 is not build from a PR, it's from a different branch than master: https://github.com/dotnet/BenchmarkDotNet/commit/6fe1dfea76527e5755dca3db7ccb009873c90699 The corresponding PR build failed and thus didn't produce the 1733 version: https://github.com/dotnet/BenchmarkDotNet/pull/1959

See https://ci.appveyor.com/project/dotnetfoundation/benchmarkdotnet/history