public class BenchmarkList extends Object
| Modifier and Type | Field | Description |
|---|---|---|
static String |
BENCHMARK_LIST |
Location of the pre-compiled list of micro benchmarks
|
| Modifier and Type | Method | Description |
|---|---|---|
static BenchmarkList |
defaultList() |
|
SortedSet<BenchmarkListEntry> |
find(OutputFormat out,
List<String> includes,
List<String> excludes) |
Gets all the micro benchmarks that matches the given regexp, sorted.
|
static BenchmarkList |
fromFile(String file) |
|
static BenchmarkList |
fromResource(String resource) |
|
static BenchmarkList |
fromString(String strings) |
|
Set<BenchmarkListEntry> |
getAll(OutputFormat out,
List<String> excludes) |
Gets all micro benchmarks from the list, sorted.
|
protected List<Reader> |
getReaders() |
Helper method for creating a Reader for the list file.
|
public static final String BENCHMARK_LIST
public static BenchmarkList defaultList()
public static BenchmarkList fromFile(String file)
public static BenchmarkList fromResource(String resource)
public static BenchmarkList fromString(String strings)
public Set<BenchmarkListEntry> getAll(OutputFormat out, List<String> excludes)
out - Output the messages hereexcludes - List of regexps to match excludes againstpublic SortedSet<BenchmarkListEntry> find(OutputFormat out, List<String> includes, List<String> excludes)
out - Output the messages hereincludes - List of regexps to match againstexcludes - List of regexps to match excludes againstCopyright © 2012-2017 Oracle. All Rights Reserved.