Commit e38f42ab authored by Marc Gravell's avatar Marc Gravell

change profiling parameters, cos *damn* that takes a long time!

parent f2e7109e
......@@ -20,20 +20,27 @@ internal static class Program
}
internal class CustomConfig : ManualConfig
{
protected virtual Job Configure(Job j)
=> j.With(new GcMode { Force = true })
.With(InProcessToolchain.Instance);
public CustomConfig()
{
Job Get(Job j) => j
.With(new GcMode { Force = true })
.With(InProcessToolchain.Instance)
;
Add(new MemoryDiagnoser());
Add(StatisticColumn.OperationsPerSecond);
Add(JitOptimizationsValidator.FailOnError);
Add(Get(Job.Clr));
Add(Configure(Job.Clr));
//Add(Get(Job.Core));
}
}
internal class SlowConfig : CustomConfig
{
protected override Job Configure(Job j)
=> j.WithLaunchCount(1)
.WithWarmupCount(1)
.WithIterationCount(5);
public SlowConfig() { }
}
/// <summary>
/// The tests
/// </summary>
......@@ -160,7 +167,9 @@ public async Task<int> ExecuteGeoRadiusAsync()
}
}
#pragma warning disable CS1591
[Config(typeof(CustomConfig))]
[Config(typeof(SlowConfig))]
public class Issue898 : IDisposable
{
private readonly ConnectionMultiplexer mux;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment