File tree Expand file tree Collapse file tree 3 files changed +33
-1
lines changed Expand file tree Collapse file tree 3 files changed +33
-1
lines changed Original file line number Diff line number Diff line change @@ -18,6 +18,7 @@ nuget DiffPlex
18
18
nuget JetBrains.Profiler.Kernel.Windows.Api
19
19
nuget Humanizer
20
20
nuget NDesk.Options
21
+ nuget BenchmarkDotNet prerelease
21
22
22
23
nuget System.Reactive
23
24
Original file line number Diff line number Diff line change
1
+ using System ;
2
+ using System . Collections . Generic ;
3
+ using System . Linq ;
4
+ using System . Threading . Tasks ;
5
+ using BenchmarkDotNet . Configs ;
6
+ using BenchmarkDotNet . Running ;
7
+ using Tests . Document . Multiple . Bulk ;
8
+ using BenchmarkDotNet . Jobs ;
9
+
10
+ namespace Tests
11
+ {
12
+ public class Program
13
+ {
14
+ public static void Main ( string [ ] args )
15
+ {
16
+ var summary = BenchmarkRunner . Run < BulkApiTests > ( new Config ( ) ) ;
17
+ }
18
+
19
+ class Config : ManualConfig
20
+ {
21
+ public Config ( )
22
+ {
23
+ Add ( Job . AllJits ) ;
24
+ Add ( Job . Dnx ) ;
25
+ Add ( Job . Default . With ( Mode . SingleRun ) . WithLaunchCount ( 1 ) . WithWarmupCount ( 1 ) . WithTargetCount ( 1 ) ) ;
26
+ Add ( Job . Default . With ( BenchmarkDotNet . Jobs . Framework . Host ) . With ( Runtime . Host ) . With ( Platform . Host ) ) ;
27
+ }
28
+ }
29
+ }
30
+ }
Original file line number Diff line number Diff line change 4
4
xunit.abstractions
5
5
System.Reactive
6
6
Bogus
7
- DiffPlex
7
+ DiffPlex
8
+ BenchmarkDotNet
You can’t perform that action at this time.
0 commit comments