File tree Expand file tree Collapse file tree 1 file changed +9
-9
lines changed Expand file tree Collapse file tree 1 file changed +9
-9
lines changed Original file line number Diff line number Diff line change @@ -137,15 +137,15 @@ If you don't like attributes, you can call most of the APIs via the fluent style
137
137
138
138
``` cs
139
139
ManualConfig .CreateEmpty () // A configuration for our benchmarks
140
- .With (Job .Default // Adding first job
141
- . With (ClrRuntime .Net472 ) // .NET Framework 4.7.2
142
- . With (Platform .X64 ) // Run as x64 application
143
- . With (Jit .LegacyJit ) // Use LegacyJIT instead of the default RyuJIT
144
- .WithGcServer (true ) // Use Server GC
145
- ).With (Job .Default // Adding second job
146
- .AsBaseline () // It will be marked as baseline
147
- .WithEnvironmentVariable (" Key" , " Value" ) // Setting an environment variable
148
- .WithWarmupCount (0 ) // Disable warm-up stage
140
+ .AddJob (Job .Default // Adding first job
141
+ . WithRuntime (ClrRuntime .Net472 ) // .NET Framework 4.7.2
142
+ . WithPlatform (Platform .X64 ) // Run as x64 application
143
+ . WithJit (Jit .LegacyJit ) // Use LegacyJIT instead of the default RyuJIT
144
+ .WithGcServer (true ) // Use Server GC
145
+ ).AddJob (Job .Default // Adding second job
146
+ .AsBaseline () // It will be marked as baseline
147
+ .WithEnvironmentVariable (" Key" , " Value" ) // Setting an environment variable
148
+ .WithWarmupCount (0 ) // Disable warm-up stage
149
149
);
150
150
```
151
151
You can’t perform that action at this time.
0 commit comments