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); }
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); }