Skip to content

Commit 3904223

Browse files
author
Bart Koelman
committed
Review feedback
1 parent 8f8f8f6 commit 3904223

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/JsonApiDotNetCore/Diagnostics/CascadingCodeTimer.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ static CascadingCodeTimer()
2828
// The most important thing is to prevent switching between CPU cores or processors. Switching dismisses the cache, etc. and has a huge performance impact on the test.
2929
Process.GetCurrentProcess().ProcessorAffinity = new IntPtr(2);
3030

31-
// To get the CPU core more exclusively, we must prevent that other threads can use this CPU core. We set our process and thread priority to achieve this.
31+
// To get the CPU core more exclusively, we must prevent that other processes can use this CPU core. We set our process priority to achieve this.
3232
// Note we should NOT set the thread priority, because async/await usage makes the code jump between pooled threads (depending on Synchronization Context).
3333
Process.GetCurrentProcess().PriorityClass = ProcessPriorityClass.High;
3434
}

0 commit comments

Comments
 (0)