public class ProfileOperation extends 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)
Copyright © 2013. All Rights Reserved.