public class ProfileOperation
extends java.lang.Object
| Constructor and Description |
|---|
ProfileOperation() |
| Modifier and Type | Method and Description |
|---|---|
static long |
measureTime(Performer performer,
int num) |
static void |
printOpsPerSec(Performer performer,
long minTestTime) |
static void |
profile(Performer performer,
int num)
See how long it takes to run the process 'num' times and print the results
to standard out
|
static double |
profileOpsPerSec(Performer performer,
long minTestTime,
boolean warmUp) |
public static void profile(Performer performer, int num)
public static void printOpsPerSec(Performer performer, long minTestTime)
public static double profileOpsPerSec(Performer performer, long minTestTime, boolean warmUp)
public static long measureTime(Performer performer, int num)