File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change 4
4
5
5
Never use the Debug build for benchmarking. * Never* . The debug version of the target method can run 10–100 times slower.
6
6
The release mode means that you should have ` <Optimize>true</Optimize> ` in your csproj file
7
- or use [ /optimize] ( https://learn.microsoft.com/dotnet/csharp/language-reference/compiler-options/ ) for ` csc ` . Also your never
8
- should use an attached debugger (e.g. Visual Studio or WinDbg) during the benchmarking. The best way is
7
+ or use [ /optimize] ( https://learn.microsoft.com/dotnet/csharp/language-reference/compiler-options/ ) for ` csc ` . Also, never
8
+ use an attached debugger (e.g. Visual Studio or WinDbg) during the benchmarking. The best way is
9
9
build our benchmark in the Release mode and run it from the command line.
10
10
11
11
## Try different environments
You can’t perform that action at this time.
0 commit comments