Skip to content

Commit 3d2df6a

Browse files
committed
Set Concurrency test loop count to a more reasonable value.
1 parent 7df79a0 commit 3d2df6a

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

Source/Tst/KZDev.PerfUtils.Concurrency.UnitTests/UsingInterlockedOps.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,12 +21,12 @@ public partial class UsingInterlockedOps : UnitTestBase
2121
/// <summary>
2222
/// The number of times we loop through for simple condition based tests (non-contention)
2323
/// </summary>
24-
private const int ConditionTestLoopCount = 1_000_000;
24+
private const int ConditionTestLoopCount = 100_000;
2525

2626
/// <summary>
2727
/// The number of test loops to run for simple bit manipulation operations
2828
/// </summary>
29-
private const int BitManagementTestLoopCount = 1_000_000;
29+
private const int BitManagementTestLoopCount = 100_000;
3030

3131
/// <summary>
3232
/// A test integer value that is used to test the <see cref="InterlockedOps"/> methods

0 commit comments

Comments
 (0)