public class BenchmarkList extends AbstractResourceReader
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
BENCHMARK_LIST
Location of the pre-compiled list of micro benchmarks
|
Modifier | Constructor and Description |
---|---|
private |
BenchmarkList(java.lang.String file,
java.lang.String resource,
java.lang.String strings) |
Modifier and Type | Method and Description |
---|---|
static BenchmarkList |
defaultList() |
java.util.SortedSet<BenchmarkListEntry> |
find(OutputFormat out,
java.util.List<java.lang.String> includes,
java.util.List<java.lang.String> excludes)
Gets all the micro benchmarks that matches the given regexp, sorted.
|
static BenchmarkList |
fromFile(java.lang.String file) |
static BenchmarkList |
fromResource(java.lang.String resource) |
static BenchmarkList |
fromString(java.lang.String strings) |
java.util.Set<BenchmarkListEntry> |
getAll(OutputFormat out,
java.util.List<java.lang.String> excludes)
Gets all micro benchmarks from the list, sorted.
|
getReaders
public static final java.lang.String BENCHMARK_LIST
private BenchmarkList(java.lang.String file, java.lang.String resource, java.lang.String strings)
public static BenchmarkList defaultList()
public static BenchmarkList fromFile(java.lang.String file)
public static BenchmarkList fromResource(java.lang.String resource)
public static BenchmarkList fromString(java.lang.String strings)
public java.util.Set<BenchmarkListEntry> getAll(OutputFormat out, java.util.List<java.lang.String> excludes)
out
- Output the messages hereexcludes
- List of regexps to match excludes againstpublic java.util.SortedSet<BenchmarkListEntry> find(OutputFormat out, java.util.List<java.lang.String> includes, java.util.List<java.lang.String> excludes)
out
- Output the messages hereincludes
- List of regexps to match againstexcludes
- List of regexps to match excludes against