Skip to content

Commit

Permalink
Update BenchmarkDotNet to 0.14.0 (#502)
Browse files Browse the repository at this point in the history
* Update BenchmarkDotNet to 0.14.0

* Update release notes
  • Loading branch information
Numpsy authored Aug 24, 2024
1 parent 0608864 commit 23cb3fc
Show file tree
Hide file tree
Showing 4 changed files with 61 additions and 35 deletions.
7 changes: 7 additions & 0 deletions Expecto.BenchmarkDotNet/Expecto.BenchmarkDotNet.fs
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ open BenchmarkDotNet.Analysers
open BenchmarkDotNet.Columns
open BenchmarkDotNet.Diagnosers
open BenchmarkDotNet.Exporters
open BenchmarkDotNet.EventProcessors
open BenchmarkDotNet.Filters
open BenchmarkDotNet.Jobs
open BenchmarkDotNet.Loggers
Expand Down Expand Up @@ -46,6 +47,8 @@ module BenchmarkDotNet =
buildTimeout: TimeSpan
configAnalysisConclusion: IReadOnlyList<Conclusion>
columnHidingRules: IColumnHidingRule list
eventProcessors: EventProcessor list
categoryDiscoverer: ICategoryDiscoverer
}
interface IConfig with
member x.GetColumnProviders() = Seq.ofList x.columnProviders
Expand All @@ -67,6 +70,8 @@ module BenchmarkDotNet =
member x.GetColumnHidingRules() = Seq.ofList x.columnHidingRules
member x.BuildTimeout = x.buildTimeout
member x.ConfigAnalysisConclusion = x.configAnalysisConclusion
member x.GetEventProcessors() = Seq.ofList x.eventProcessors
member x.CategoryDiscoverer = x.categoryDiscoverer

let private synchronisedLogger =
let cl = ConsoleLogger.Default
Expand Down Expand Up @@ -106,6 +111,8 @@ module BenchmarkDotNet =
columnHidingRules = def.GetColumnHidingRules() |> List.ofSeq
buildTimeout = def.BuildTimeout
configAnalysisConclusion = def.ConfigAnalysisConclusion
eventProcessors = def.GetEventProcessors() |> List.ofSeq
categoryDiscoverer = def.CategoryDiscoverer
}

/// Run a performance test: pass the annotated type as a type param
Expand Down
4 changes: 4 additions & 0 deletions RELEASE_NOTES.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
### 11.0.0-alpha2 - 2024-08-18
* Breaking change: Update BenchmarkDotNet in Expecto.BenchmarkDotNet to 0.14.0 (#502)
* 'BenchmarkConfig' has new 'eventProcessors' and 'categoryDiscoverer' properties.

### 11.0.0-alpha1 - 2024-08-14
* Fix testTheory issue where null and empty string produce duplicate test names (#494), thanks @Numpsy
* Breaking Change: FsCheck 3 is now the default for Expecto.FsCheck, since FsCheck 2 is no longer supported. FsCheck 2 support is still available under the `-fscheck2` version suffix (i.e. install Expecto.FsCheck with version [11.0.0-alpha1-fscheck2](https://www.nuget.org/packages/Expecto.FsCheck/11.0.0-alpha1-fscheck2))
Expand Down
2 changes: 1 addition & 1 deletion paket.dependencies
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ nuget FsCheck ~> 2.14
nuget Hopac ~> 0.4
nuget DiffPlex ~> 1.5
nuget Mono.Cecil ~> 0.11
nuget BenchmarkDotNet ~> 0.13.5
nuget BenchmarkDotNet ~> 0.14.0

group FsCheck3
source https://api.nuget.org/v3/index.json
Expand Down
83 changes: 49 additions & 34 deletions paket.lock
Original file line number Diff line number Diff line change
Expand Up @@ -2,24 +2,24 @@ STORAGE: NONE
RESTRICTION: || (== net6.0) (== netstandard2.1)
NUGET
remote: https://api.nuget.org/v3/index.json
BenchmarkDotNet (0.13.5)
BenchmarkDotNet.Annotations (>= 0.13.5)
CommandLineParser (>= 2.4.3)
BenchmarkDotNet (0.14)
BenchmarkDotNet.Annotations (>= 0.14)
CommandLineParser (>= 2.9.1)
Gee.External.Capstone (>= 2.3)
Iced (>= 1.17)
Microsoft.CodeAnalysis.CSharp (>= 3.0)
Microsoft.CodeAnalysis.CSharp (>= 4.1)
Microsoft.Diagnostics.Runtime (>= 2.2.332302)
Microsoft.Diagnostics.Tracing.TraceEvent (>= 3.0.2)
Microsoft.Diagnostics.Tracing.TraceEvent (>= 3.1.8)
Microsoft.DotNet.PlatformAbstractions (>= 3.1.6)
Microsoft.Win32.Registry (>= 5.0) - restriction: == netstandard2.1
Perfolizer (>= 0.2.1)
System.Management (>= 6.0)
Perfolizer (0.3.17)
System.Management (>= 5.0)
System.Numerics.Vectors (>= 4.5) - restriction: == netstandard2.1
System.Reflection.Emit (>= 4.7) - restriction: == netstandard2.1
System.Reflection.Emit.Lightweight (>= 4.7) - restriction: == netstandard2.1
System.Threading.Tasks.Extensions (>= 4.5.4) - restriction: == netstandard2.1
BenchmarkDotNet.Annotations (0.13.5)
CommandLineParser (2.7.82)
BenchmarkDotNet.Annotations (0.14)
CommandLineParser (2.9.1)
DiffPlex (1.7.1)
FsCheck (2.16.5)
FSharp.Core (>= 4.2.3)
Expand All @@ -29,26 +29,41 @@ NUGET
FSharp.Core (>= 4.5.2)
Iced (1.18)
Microsoft.Bcl.AsyncInterfaces (7.0)
Microsoft.CodeAnalysis.Analyzers (3.0)
Microsoft.CodeAnalysis.Common (3.5)
Microsoft.CodeAnalysis.Analyzers (>= 3.0.0-beta2.20059.3)
System.Collections.Immutable (>= 1.5)
System.Memory (>= 4.5.3)
System.Reflection.Metadata (>= 1.6)
System.Runtime.CompilerServices.Unsafe (>= 4.6)
System.Text.Encoding.CodePages (>= 4.5.1)
System.Threading.Tasks.Extensions (>= 4.5.3)
Microsoft.CodeAnalysis.CSharp (3.5)
Microsoft.CodeAnalysis.Common (3.5)
Microsoft.CodeAnalysis.Analyzers (3.3.4)
Microsoft.CodeAnalysis.Common (4.10)
Microsoft.CodeAnalysis.Analyzers (>= 3.3.4)
System.Buffers (>= 4.5.1)
System.Collections.Immutable (>= 8.0)
System.Memory (>= 4.5.5)
System.Numerics.Vectors (>= 4.5)
System.Reflection.Metadata (>= 8.0)
System.Runtime.CompilerServices.Unsafe (>= 6.0)
System.Text.Encoding.CodePages (>= 7.0)
System.Threading.Tasks.Extensions (>= 4.5.4)
Microsoft.CodeAnalysis.CSharp (4.10)
Microsoft.CodeAnalysis.Analyzers (>= 3.3.4)
Microsoft.CodeAnalysis.Common (4.10)
System.Buffers (>= 4.5.1)
System.Collections.Immutable (>= 8.0)
System.Memory (>= 4.5.5)
System.Numerics.Vectors (>= 4.5)
System.Reflection.Metadata (>= 8.0)
System.Runtime.CompilerServices.Unsafe (>= 6.0)
System.Text.Encoding.CodePages (>= 7.0)
System.Threading.Tasks.Extensions (>= 4.5.4)
Microsoft.Diagnostics.NETCore.Client (0.2.410101)
Microsoft.Bcl.AsyncInterfaces (>= 1.1)
Microsoft.Extensions.Logging (>= 2.1.1)
Microsoft.Diagnostics.Runtime (2.4.416101)
Microsoft.Diagnostics.NETCore.Client (>= 0.2.251802)
System.Collections.Immutable (>= 5.0)
System.Runtime.CompilerServices.Unsafe (>= 5.0)
Microsoft.Diagnostics.Tracing.TraceEvent (3.0.8)
System.Runtime.CompilerServices.Unsafe (>= 5.0)
Microsoft.Diagnostics.Tracing.TraceEvent (3.1.13)
Microsoft.Win32.Registry (>= 5.0)
System.Collections.Immutable (>= 8.0)
System.Reflection.Metadata (>= 8.0)
System.Reflection.TypeExtensions (>= 4.7)
System.Runtime.CompilerServices.Unsafe (>= 6.0)
Microsoft.DotNet.PlatformAbstractions (3.1.6)
Microsoft.Extensions.DependencyInjection (7.0)
Microsoft.Extensions.DependencyInjection.Abstractions (>= 7.0)
Expand All @@ -68,18 +83,16 @@ NUGET
Microsoft.Extensions.Primitives (7.0)
System.Memory (>= 4.5.5) - restriction: || (&& (== net6.0) (>= net462)) (== netstandard2.1)
System.Runtime.CompilerServices.Unsafe (>= 6.0)
Microsoft.NETCore.Platforms (3.1) - restriction: || (== net6.0) (&& (== netstandard2.1) (>= netcoreapp2.0)) (&& (== netstandard2.1) (>= netcoreapp3.1))
Microsoft.Win32.Registry (5.0) - restriction: == netstandard2.1
Microsoft.Win32.Registry (5.0)
System.Buffers (>= 4.5.1) - restriction: || (&& (== net6.0) (>= monoandroid) (< netstandard1.3)) (&& (== net6.0) (>= monotouch)) (&& (== net6.0) (< netcoreapp2.0)) (&& (== net6.0) (>= xamarinios)) (&& (== net6.0) (>= xamarinmac)) (&& (== net6.0) (>= xamarintvos)) (&& (== net6.0) (>= xamarinwatchos)) (== netstandard2.1)
System.Memory (>= 4.5.4) - restriction: || (&& (== net6.0) (< netcoreapp2.0)) (&& (== net6.0) (< netcoreapp2.1)) (&& (== net6.0) (>= uap10.1)) (== netstandard2.1)
System.Security.AccessControl (>= 5.0)
System.Security.Principal.Windows (>= 5.0)
Mono.Cecil (0.11.4)
Perfolizer (0.2.1)
System.Memory (>= 4.5.3)
System.Buffers (4.5.1) - restriction: == netstandard2.1
Perfolizer (0.3.17)
System.Buffers (4.5.1)
System.CodeDom (7.0)
System.Collections.Immutable (7.0)
System.Collections.Immutable (8.0)
System.Memory (>= 4.5.5) - restriction: || (&& (== net6.0) (>= net462)) (== netstandard2.1)
System.Runtime.CompilerServices.Unsafe (>= 6.0)
System.Diagnostics.DiagnosticSource (7.0.2) - restriction: || (&& (== net6.0) (>= net462)) (&& (== net6.0) (< netstandard2.1)) (== netstandard2.1)
Expand All @@ -91,18 +104,20 @@ NUGET
System.Buffers (>= 4.5.1) - restriction: || (&& (== net6.0) (>= monotouch)) (&& (== net6.0) (>= net461)) (&& (== net6.0) (< netcoreapp2.0)) (&& (== net6.0) (< netstandard1.1)) (&& (== net6.0) (< netstandard2.0)) (&& (== net6.0) (>= xamarinios)) (&& (== net6.0) (>= xamarinmac)) (&& (== net6.0) (>= xamarintvos)) (&& (== net6.0) (>= xamarinwatchos)) (== netstandard2.1)
System.Numerics.Vectors (>= 4.4) - restriction: || (&& (== net6.0) (< netcoreapp2.0)) (== netstandard2.1)
System.Runtime.CompilerServices.Unsafe (>= 4.5.3) - restriction: || (&& (== net6.0) (>= monotouch)) (&& (== net6.0) (>= net461)) (&& (== net6.0) (< netcoreapp2.0)) (&& (== net6.0) (< netcoreapp2.1)) (&& (== net6.0) (< netstandard1.1)) (&& (== net6.0) (< netstandard2.0)) (&& (== net6.0) (>= uap10.1)) (&& (== net6.0) (>= xamarinios)) (&& (== net6.0) (>= xamarinmac)) (&& (== net6.0) (>= xamarintvos)) (&& (== net6.0) (>= xamarinwatchos)) (== netstandard2.1)
System.Numerics.Vectors (4.5) - restriction: == netstandard2.1
System.Numerics.Vectors (4.5)
System.Reflection.Emit (4.7) - restriction: == netstandard2.1
System.Reflection.Emit.Lightweight (4.7) - restriction: == netstandard2.1
System.Reflection.Metadata (1.8)
System.Collections.Immutable (>= 1.7) - restriction: || (&& (== net6.0) (>= net45)) (&& (== net6.0) (< netcoreapp3.1)) (&& (== net6.0) (< netstandard1.1)) (&& (== net6.0) (< netstandard2.0)) (== netstandard2.1)
System.Reflection.Metadata (8.0)
System.Collections.Immutable (>= 8.0)
System.Memory (>= 4.5.5) - restriction: || (&& (== net6.0) (>= net462)) (== netstandard2.1)
System.Reflection.TypeExtensions (4.7)
System.Runtime.CompilerServices.Unsafe (6.0)
System.Security.AccessControl (6.0) - restriction: == netstandard2.1
System.Security.Principal.Windows (>= 5.0) - restriction: || (&& (== net6.0) (>= net461)) (== netstandard2.1)
System.Security.Principal.Windows (5.0) - restriction: == netstandard2.1
System.Text.Encoding.CodePages (4.7)
Microsoft.NETCore.Platforms (>= 3.1) - restriction: || (== net6.0) (&& (== netstandard2.1) (>= netcoreapp2.0)) (&& (== netstandard2.1) (>= netcoreapp3.1))
System.Runtime.CompilerServices.Unsafe (>= 4.7) - restriction: || (&& (== net6.0) (>= net461)) (&& (== net6.0) (< netcoreapp2.0)) (&& (== net6.0) (< netcoreapp3.1)) (== netstandard2.1)
System.Text.Encoding.CodePages (8.0)
System.Memory (>= 4.5.5) - restriction: || (&& (== net6.0) (>= net462)) (== netstandard2.1)
System.Runtime.CompilerServices.Unsafe (>= 6.0)
System.Threading.Tasks.Extensions (4.5.4)
System.Runtime.CompilerServices.Unsafe (>= 4.5.3) - restriction: || (&& (== net6.0) (>= net461)) (&& (== net6.0) (< netcoreapp2.1)) (&& (== net6.0) (< netstandard1.0)) (&& (== net6.0) (< netstandard2.0)) (&& (== net6.0) (>= wp8)) (== netstandard2.1)

Expand Down

0 comments on commit 23cb3fc

Please sign in to comment.