Skip to content

Commit

Permalink
Downgrading BenchmarkDotNet, fixes #74
Browse files Browse the repository at this point in the history
  • Loading branch information
haf committed Jan 10, 2017
1 parent e5c595a commit dcd5df4
Show file tree
Hide file tree
Showing 6 changed files with 1,175 additions and 205 deletions.
2 changes: 1 addition & 1 deletion .semver
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---
:major: 3
:minor: 0
:patch: 1
:patch: 2
:special: ''
:metadata: ''
10 changes: 5 additions & 5 deletions Expecto.BenchmarkDotNet/Expecto.BenchmarkDotNet.fs
Original file line number Diff line number Diff line change
Expand Up @@ -24,24 +24,24 @@ module BenchmarkDotNet =
type SetupAttribute = BenchmarkDotNet.Attributes.SetupAttribute

type BenchmarkConfig =
{ columns : IColumnProvider list
{ columns : IColumn list
exporters : IExporter list
loggers : ILogger list
diagnosers : IDiagnoser list
analysers : IAnalyser list
jobs : Job list
jobs : IJob list
validators : IValidator list
orderProvider : IOrderProvider
unionRule : ConfigUnionRule
keepFiles : bool }

interface IConfig with
member x.GetColumnProviders() = x.columns :> IColumnProvider seq
member x.GetColumns() = x.columns :> IColumn seq
member x.GetExporters() = x.exporters :> seq<IExporter>
member x.GetLoggers() = x.loggers :> seq<ILogger>
member x.GetDiagnosers() = x.diagnosers :> seq<IDiagnoser>
member x.GetAnalysers() = x.analysers :> seq<IAnalyser>
member x.GetJobs() = x.jobs :> seq<Job>
member x.GetJobs() = x.jobs :> seq<IJob>
member x.GetValidators() = x.validators :> seq<IValidator>
member x.GetOrderProvider() = x.orderProvider : IOrderProvider
member x.UnionRule = x.unionRule : ConfigUnionRule
Expand All @@ -61,7 +61,7 @@ module BenchmarkDotNet =

let benchmarkConfig =
let def = DefaultConfig.Instance
{ columns = def.GetColumnProviders() |> List.ofSeq
{ columns = def.GetColumns() |> List.ofSeq
exporters = def.GetExporters() |> List.ofSeq
loggers = [ synchronisedLogger ]
diagnosers = def.GetDiagnosers() |> List.ofSeq
Expand Down
Loading

0 comments on commit dcd5df4

Please sign in to comment.