Skip to content

Commit

Permalink
Update good-practices.md (dotnet#2618)
Browse files Browse the repository at this point in the history
  • Loading branch information
SteveDunn authored Aug 25, 2024
1 parent c8105aa commit 29a0ebb
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/articles/guides/good-practices.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@

Never use the Debug build for benchmarking. *Never*. The debug version of the target method can run 10–100 times slower.
The release mode means that you should have `<Optimize>true</Optimize>` in your csproj file
or use [/optimize](https://learn.microsoft.com/dotnet/csharp/language-reference/compiler-options/) for `csc`. Also your never
should use an attached debugger (e.g. Visual Studio or WinDbg) during the benchmarking. The best way is
or use [/optimize](https://learn.microsoft.com/dotnet/csharp/language-reference/compiler-options/) for `csc`. Also, never
use an attached debugger (e.g. Visual Studio or WinDbg) during the benchmarking. The best way is
build our benchmark in the Release mode and run it from the command line.

## Try different environments
Expand Down

0 comments on commit 29a0ebb

Please sign in to comment.