public class BenchUtils$
extends java.lang.Object
| Modifier and Type | Field and Description | 
|---|---|
| static BenchUtils$ | MODULE$Static reference to the singleton instance of this Scala object. | 
| Constructor and Description | 
|---|
| BenchUtils$() | 
| Modifier and Type | Method and Description | 
|---|---|
| double | nanoRace(scala.Function0<scala.runtime.BoxedUnit> f1,
        scala.Function0<scala.runtime.BoxedUnit> f2,
        int attempts)Races f1 against f2 for attempts times (after 10 warmup runs) and returns the minimum factor
 between f1 time and f2 time. | 
public static final BenchUtils$ MODULE$
public double nanoRace(scala.Function0<scala.runtime.BoxedUnit> f1,
                       scala.Function0<scala.runtime.BoxedUnit> f2,
                       int attempts)
Multiple attempts are more resilient against one time disruptions.
f1 - (undocumented)f2 - (undocumented)attempts - (undocumented)