Skip to content

T_CodeJam_PerfTests_CompetitionBenchmarkAttribute

andrewvk edited this page Nov 8, 2016 · 2 revisions

CompetitionBenchmarkAttribute Class

Attribute for competition benchmark.

Inheritance Hierarchy

System.Object
  System.Attribute
    BenchmarkAttribute
      CodeJam.PerfTests.CompetitionBenchmarkAttribute
Namespace: CodeJam.PerfTests
Assembly: CodeJam.PerfTests (in CodeJam.PerfTests.dll) Version: 1.1.0.0 (1.1.0.0)

Syntax

C#

public class CompetitionBenchmarkAttribute : BenchmarkAttribute

VB

Public Class CompetitionBenchmarkAttribute
	Inherits BenchmarkAttribute

F#

type CompetitionBenchmarkAttribute =  
    class
        inherit BenchmarkAttribute
    end

The CompetitionBenchmarkAttribute type exposes the following members.

Constructors

 

Name Description
Public method CompetitionBenchmarkAttribute() Constructor for competition benchmark attribute.
Public method CompetitionBenchmarkAttribute(Double) Marks the competition benchmark.
Public method CompetitionBenchmarkAttribute(Double, Double) Marks the competition benchmark.
  Back to Top

Properties

 

Name Description
Public property Baseline (Inherited from BenchmarkAttribute.)
Public property Description (Inherited from BenchmarkAttribute.)
Public property DoesNotCompete Exclude the benchmark from competition.
Public property MaxRatio The maximum timing ratio relative to the baseline. Set to Empty (used by default) to mark the limit as unset but updateable during the annotation. Set to IgnoreValue to ignore the limit.
Public property MinRatio The minimum timing ratio relative to the baseline. Set to Empty (used by default) to mark the limit as unset but updateable during the annotation. Set to IgnoreValue to ignore the limit.
Public property OperationsPerInvoke (Inherited from BenchmarkAttribute.)
Public property TypeId When implemented in a derived class, gets a unique identifier for this Attribute. (Inherited from Attribute.)
  Back to Top

Methods

 

Name Description
Public method Equals Returns a value that indicates whether this instance is equal to a specified object. (Inherited from Attribute.)
Protected method Finalize Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.)
Public method GetHashCode Returns the hash code for this instance. (Inherited from Attribute.)
Public method GetType Gets the Type of the current instance. (Inherited from Object.)
Public method IsDefaultAttribute When overridden in a derived class, indicates whether the value of this instance is the default value for the derived class. (Inherited from Attribute.)
Public method Match When overridden in a derived class, returns a value that indicates whether this instance equals a specified object. (Inherited from Attribute.)
Protected method MemberwiseClone Creates a shallow copy of the current Object. (Inherited from Object.)
Public method ToString Returns a string that represents the current object. (Inherited from Object.)
  Back to Top

See Also

Reference

CodeJam.PerfTests Namespace
BenchmarkAttribute

Clone this wiki locally