C# Class Icing.LINQPad.Diagnostics.Benchmark

Helpers for benchmarking the performance of algorithms.
Afficher le fichier Open project: benallred/Icing

Méthodes publiques

Méthode Description
CompareExecutionTime ( int numberOfIterations, bool reportIndividualIterations ) : IList

Benchmarks and compares the execution time stats of the given algorithms.

CompareExecutionTime ( int numberOfIterations, bool reportIndividualIterations, IList algorithms ) : IList

Benchmarks and compares the execution time stats of the given algorithms.

Private Methods

Méthode Description
DumpAlgorithmStats ( Algorithm algorithm, Algorithm compareTo, bool reportIndividualIterations ) : void

Method Details

CompareExecutionTime() public static méthode

Benchmarks and compares the execution time stats of the given algorithms.
public static CompareExecutionTime ( int numberOfIterations, bool reportIndividualIterations ) : IList
numberOfIterations int The number of iterations to run.
reportIndividualIterations bool /// If set to true, reports individual iteration stats; if false, reports average iteration stats. /// If the algorithm runs really fast, the floating point calculations will come out to zero, so you will want to set this to false. ///
Résultat IList

CompareExecutionTime() public static méthode

Benchmarks and compares the execution time stats of the given algorithms.
public static CompareExecutionTime ( int numberOfIterations, bool reportIndividualIterations, IList algorithms ) : IList
numberOfIterations int The number of iterations to run.
reportIndividualIterations bool /// If set to true, reports individual iteration stats; if false, reports average iteration stats. /// If the algorithm runs really fast, the floating point calculations will come out to zero, so you will want to set this to false. ///
algorithms IList The algorithms to compare.
Résultat IList