summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorPat Gavlin <pagavlin@microsoft.com>2017-03-16 16:08:06 -0700
committerPat Gavlin <pagavlin@microsoft.com>2017-03-16 16:08:06 -0700
commit13867720e00706ade79e6030f6e8441fbfdef41c (patch)
tree015aaea3f3011937abb2afa188a7acaa4773482b /tests
parent7d8e1382eea401386890bc38065fa9b8ef76141e (diff)
downloadcoreclr-13867720e00706ade79e6030f6e8441fbfdef41c.tar.gz
coreclr-13867720e00706ade79e6030f6e8441fbfdef41c.tar.bz2
coreclr-13867720e00706ade79e6030f6e8441fbfdef41c.zip
Reduce case iteration counts in SeekUnroll.
This test was taking too long to run on x86. After investigation, it does not appear that there is a fundamental problem with the code generated for the test; rather, it seems that we are running an excessive number of iterations when using this test as a correctness test. This change reduces the number of times we run each case from 10 to 1 unless otherwise specified on the command line.
Diffstat (limited to 'tests')
-rw-r--r--tests/src/JIT/Performance/CodeQuality/SIMD/SeekUnroll/SeekUnroll.cs5
1 files changed, 3 insertions, 2 deletions
diff --git a/tests/src/JIT/Performance/CodeQuality/SIMD/SeekUnroll/SeekUnroll.cs b/tests/src/JIT/Performance/CodeQuality/SIMD/SeekUnroll/SeekUnroll.cs
index 3253e255d6..3915caf47d 100644
--- a/tests/src/JIT/Performance/CodeQuality/SIMD/SeekUnroll/SeekUnroll.cs
+++ b/tests/src/JIT/Performance/CodeQuality/SIMD/SeekUnroll/SeekUnroll.cs
@@ -140,7 +140,7 @@ public static class SeekUnroll
// Main method entrypoint runs the manual timer loop
- public static int Main()
+ public static int Main(string[] args)
{
int failures = 0;
@@ -151,9 +151,10 @@ public static class SeekUnroll
InnerIterations = 100000;
}
+ int manualLoopCount = (args != null && args.Length >= 1) ? int.Parse(args[0]) : 1;
foreach(int index in IndicesToTest)
{
- ManualLoopTimes = new long[10];
+ ManualLoopTimes = new long[manualLoopCount];
bool passed = Test(index, false);
if (!passed)
{