Esempio n. 1
0
        private static void MeasureDeep(DeepModelCreator generator, int size, Func <ISystemAllocation, Func <int> > mode, string tool, bool incremental)
        {
            var allocation           = generator(out Action[] manipulations);
            Func <Func <int> > query = () => mode(allocation);

            MeasureSize(size, query, manipulations, tool, incremental);
        }
Esempio n. 2
0
 private static void MeasureDeep(DeepModelCreator generator, int size)
 {
     //MeasureDeep(generator, size, DeepBatchEnumerable, "DeepEnumerable", false);
     //MeasureDeep(generator, size, DeepBatchAltEnumerable, "DeepAltEnumerable", false);
     MeasureDeep(generator, size, DeepBatch, "Deep", false);
     MeasureDeep(generator, size, DeepBatchAlt, "DeepAlt", false);
     MeasureDeep(generator, size, DeepIncremental, "Deep", true);
     MeasureDeep(generator, size, DeepIncrementalAlt, "DeepAlt", true);
 }