public class BenchmarkList extends Object
Modifier and Type | Field and Description |
---|---|
static String |
BENCHMARK_LIST
Location of the pre-compiled list of micro benchmarks
|
Modifier and Type | Method and 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) |
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 fromResource(String resource)
public static BenchmarkList fromFile(String file)
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 © 2016. All rights reserved.