Package ej.benchmark
Class BenchHelper
- java.lang.Object
-
- ej.benchmark.BenchHelper
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static BenchResultrun(BenchTest test)static BenchResultrun(BenchTest test, TimeStrategy time)Runs the test several time and returns the time spent.
-
-
-
Method Detail
-
run
public static BenchResult run(BenchTest test)
- Parameters:
test- the test to bench- Returns:
- the bench result
-
run
public static BenchResult run(BenchTest test, TimeStrategy time)
Runs the test several time and returns the time spent.- Parameters:
test- the test to runtime- the time strategy- Returns:
- the bench result
-
-