forked from dotnet/BenchmarkDotNet
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Jimmy Byrd
committed
Jul 8, 2019
1 parent
79a4aed
commit d936241
Showing
4 changed files
with
26 additions
and
20 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
27 changes: 12 additions & 15 deletions
27
templates/BenchmarkDotNet.BenchmarkProjectTemplate.FSharp/content/BenchmarkConfig.fs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,20 +1,17 @@ | ||
open BenchmarkDotNet.Analysers; | ||
open BenchmarkDotNet.Attributes; | ||
open BenchmarkDotNet.Columns; | ||
open BenchmarkDotNet.Configs; | ||
open BenchmarkDotNet.Exporters; | ||
open BenchmarkDotNet.Exporters.Csv; | ||
open BenchmarkDotNet.Jobs; | ||
open BenchmarkDotNet.Loggers; | ||
module Configs | ||
|
||
open BenchmarkDotNet.Configs | ||
open BenchmarkDotNet.Diagnosers | ||
open BenchmarkDotNet.Exporters | ||
open BenchmarkDotNet.Validators | ||
|
||
type BenchmarkConfig() as self = | ||
|
||
type BenchmarkConfig() = | ||
// Configure your benchmarks, see for more details: https://benchmarkdotnet.org/articles/configs/configs.html. | ||
ManualConfig | ||
.Create(DefaultConfig.Instance) | ||
.With(Job.ShortRun.With(Runtime.Mono)) | ||
.With(Job.ShortRun.With(Runtime.Core)) | ||
inherit ManualConfig() | ||
do | ||
self | ||
.With(MemoryDiagnoser.Default) | ||
.With(MarkdownExporter.GitHub) | ||
.With(ExecutionValidator.FailOnError) | ||
inherit ManualConfig() | ||
new() = BenchmarkConfig() | ||
|> ignore |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters