You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Jan 23, 2023. It is now read-only.
Copy file name to clipboardExpand all lines: Documentation/project-docs/benchmarking.md
+3-3Lines changed: 3 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -28,7 +28,7 @@ Follow the instructions described here https://github.com/dotnet/corefx/blob/mas
28
28
29
29
Add a benchmark class, configure it either with a manual configuration or by attributing it and pass the class type to the BenchmarkRunner:
30
30
31
-
```
31
+
```csharp
32
32
[MemoryDiagnoser]
33
33
// ...
34
34
publicclassBenchmark
@@ -51,7 +51,7 @@ Make sure to build your local corefx repository in RELEASE mode `.\build -releas
51
51
52
52
Currently there is no straightforward way to run your BenchmarkDotNet application in a dedicated process, therefore we are using the InProcess switch `[InProcess]`:
53
53
54
-
```
54
+
```csharp
55
55
[InProcess]
56
56
publicclassBenchmark
57
57
{
@@ -74,7 +74,7 @@ Follow the instructions described here https://github.com/dotnet/corefx/blob/mas
74
74
75
75
Add the desired amount of Jobs and add `NetCoreAppSettings` to specify the `targetFrameworkMoniker`, `runtimeFrameworkVersion` and `customDotNetCliPath` for each:
0 commit comments