Ejemplo n.º 1
0
 public DefaultOrderProvider(
     SummaryOrderPolicy summaryOrderPolicy = SummaryOrderPolicy.Default,
     MethodOrderPolicy methodOrderPolicy   = MethodOrderPolicy.Declared)
 {
     this.summaryOrderPolicy = summaryOrderPolicy;
     targetComparer          = new TargetComparer(methodOrderPolicy);
 }
Ejemplo n.º 2
0
 public DefaultOrderer(
     SummaryOrderPolicy summaryOrderPolicy = SummaryOrderPolicy.Default,
     MethodOrderPolicy methodOrderPolicy   = MethodOrderPolicy.Declared)
 {
     SummaryOrderPolicy = summaryOrderPolicy;
     MethodOrderPolicy  = methodOrderPolicy;
     targetComparer     = new DescriptorComparer(methodOrderPolicy);
 }
Ejemplo n.º 3
0
 public DefaultOrderProvider(
     SummaryOrderPolicy summaryOrderPolicy = SummaryOrderPolicy.Default,
     MethodOrderPolicy methodOrderPolicy   = MethodOrderPolicy.Declared)
 {
     this.summaryOrderPolicy = summaryOrderPolicy;
     targetComparer          = new TargetComparer(methodOrderPolicy);
     benchmarkComparer       = new BenchmarkComparer(paramsComparer, jobComparer, targetComparer);
     logicalGroupComparer    = new LogicalGroupComparer(benchmarkComparer);
 }
Ejemplo n.º 4
0
        public DefaultOrderer(
            SummaryOrderPolicy summaryOrderPolicy = SummaryOrderPolicy.Default,
            MethodOrderPolicy methodOrderPolicy   = MethodOrderPolicy.Declared)
        {
            SummaryOrderPolicy = summaryOrderPolicy;
            MethodOrderPolicy  = methodOrderPolicy;
            IComparer <Descriptor> targetComparer = new DescriptorComparer(methodOrderPolicy);

            benchmarkComparer    = new BenchmarkComparer(paramsComparer, jobComparer, targetComparer);
            logicalGroupComparer = new LogicalGroupComparer(benchmarkComparer);
        }
Ejemplo n.º 5
0
 public TargetComparer(MethodOrderPolicy methodOrderPolicy)
 {
     this.methodOrderPolicy = methodOrderPolicy;
 }
Ejemplo n.º 6
0
 public DescriptorComparer(MethodOrderPolicy methodOrderPolicy)
 {
     this.methodOrderPolicy = methodOrderPolicy;
 }
 public JoinedSummaryOrdererByType(
     SummaryOrderPolicy summaryOrderPolicy = SummaryOrderPolicy.Default,
     MethodOrderPolicy methodOrderPolicy   = MethodOrderPolicy.Declared) : base(summaryOrderPolicy, methodOrderPolicy)
 {
 }
Ejemplo n.º 8
0
 public OrdererAttribute(
     SummaryOrderPolicy summaryOrderPolicy = SummaryOrderPolicy.Default,
     MethodOrderPolicy methodOrderPolicy   = MethodOrderPolicy.Declared)
 {
     Config = ManualConfig.CreateEmpty().With(new DefaultOrderer(summaryOrderPolicy, methodOrderPolicy));
 }
 public OrderProviderAttribute(
     SummaryOrderPolicy summaryOrderPolicy = SummaryOrderPolicy.Default, 
     MethodOrderPolicy methodOrderPolicy = MethodOrderPolicy.Declared)
 {
     Config = ManualConfig.CreateEmpty().With(new DefaultOrderProvider(summaryOrderPolicy, methodOrderPolicy));
 }