C# Class RazorRockstars.Console.Files.Benchmarks

ファイルを表示 Open project: ServiceStack/ServiceStack

Protected Methods

Method Description
CompareRuns ( int iterations, string run1Name, System.Action run1Action, string run2Name, System.Action run2Action ) : void
Measure ( System.Action action, decimal iterations ) : long
RunAction ( System.Action action, int iterations, string actionName ) : decimal
WarmUp ( ) : void

Private Methods

Method Description
Benchmark_Razor_vs_Markdown ( ) : void
TestFixtureSetUp ( ) : void
TestFixtureTearDown ( ) : void

Method Details

CompareRuns() protected method

protected CompareRuns ( int iterations, string run1Name, System.Action run1Action, string run2Name, System.Action run2Action ) : void
iterations int
run1Name string
run1Action System.Action
run2Name string
run2Action System.Action
return void

Measure() protected method

protected Measure ( System.Action action, decimal iterations ) : long
action System.Action
iterations decimal
return long

RunAction() protected method

protected RunAction ( System.Action action, int iterations, string actionName ) : decimal
action System.Action
iterations int
actionName string
return decimal

WarmUp() protected method

protected WarmUp ( ) : void
return void