< prev index next >

jmh-core/src/main/java/org/openjdk/jmh/runner/options/CommandLineOptions.java

Print this page

        

*** 73,82 **** --- 73,83 ---- private final List<String> excludes = new ArrayList<String>(); private final Optional<WarmupMode> warmupMode; private final List<String> warmupMicros = new ArrayList<String>(); private final Multimap<String, String> params = new HashMultimap<String, String>(); private final boolean list; + private final boolean listWithParams; private final boolean listResultFormats; private final boolean help; private final boolean listProfilers; private final transient OptionParser parser;
*** 195,204 **** --- 196,206 ---- "in addition to already selected. JMH will not measure these benchmarks, but only use them" + " for the warmup.") .withRequiredArg().withValuesSeparatedBy(',').ofType(String.class).describedAs("regexp+"); parser.accepts("l", "List matching benchmarks and exit."); + parser.accepts("lp", "List matching benchmarks with parameters and exit."); parser.accepts("lrf", "List result formats."); parser.accepts("lprof", "List profilers."); parser.accepts("h", "Display help."); try {
*** 257,266 **** --- 259,269 ---- resultFormat = Optional.none(); } help = set.has("h"); list = set.has("l"); + listWithParams = set.has("lp"); listResultFormats = set.has("lrf"); listProfilers = set.has("lprof"); iterations = toOptional(optMeasureCount, set); batchSize = toOptional(optMeasureBatchSize, set);
*** 402,411 **** --- 405,418 ---- public boolean shouldList() { return list; } + public boolean shouldListWithParams() { + return listWithParams; + } + public boolean shouldListResultFormats() { return listResultFormats; } public boolean shouldHelp() {
< prev index next >