public IEnumerable <TimingStats> Extend()
        {
            var timings = _finder.Get();
            var result  = groupSections(timings);

            return(result);
        }
Esempio n. 2
0
        public Dictionary <MetaFeatures, IEnumerable <RunMeta <int> > > Get()
        {
            var result = _component.Get();
            var keys   = result.Select(x => x.Key).ToList();

            foreach (var key in keys)
            {
                result[key] = sanitize(result[key]);
            }

            return(result);
        }
Esempio n. 3
0
        private RunTiming getTimingForSection(Sections section)
        {
            var feature = _mapper.Map(section);
            var times   = _timingsFinder.Get(feature);
            var fastest = times.OrderBy(x => x.Value).FirstOrDefault();
            var run     = fastest != null
                ? _analyticsReader.Get(fastest.Worldname)
                : null;

            return(new RunTiming(section, fastest, run));
        }