Skip to content

Commit 81c234d

Browse files
Update README.md (#1601)
1 parent 9927193 commit 81c234d

File tree

1 file changed

+9
-9
lines changed

1 file changed

+9
-9
lines changed

README.md

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -137,15 +137,15 @@ If you don't like attributes, you can call most of the APIs via the fluent style
137137

138138
```cs
139139
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
149149
);
150150
```
151151

0 commit comments

Comments
 (0)