public override IEnumerable<BaseTester.TestSet> GetProfilingTestSets() { const int size = 100000; var rand = new Random(123); var seq = rand.GenerateRandomSequence(size); yield return BaseTester.CreateInputSet(null, seq); var monotonic = Enumerable.Range(1, 90000).ToArray(); yield return BaseTester.CreateInputSet(null, monotonic); }
public DbTestItem(BaseTester tester, ICollection <DbShardGroup> shardGroups, DataColumn[] dataColumns) { _dataColumns = dataColumns; Tester = tester; DbShardGroups = shardGroups.ToList(); Testers = new BaseTester[shardGroups.Count, shardGroups.ElementAt(0).ShardGroupItems.Count]; TestDbStates = new ObservableCollection <TestItemDbState>(); GraphicModel = new BarGraphicModel(this); Init(); }