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 44
55Never use the Debug build for benchmarking. * Never* . The debug version of the target method can run 10–100 times slower.
66The 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
99build our benchmark in the Release mode and run it from the command line.
1010
1111## Try different environments
You can’t perform that action at this time.
0 commit comments