org.parboiled.parserunners
Class ProfilingParseRunner.Report

java.lang.Object
  extended by org.parboiled.parserunners.ProfilingParseRunner.Report
Enclosing class:
ProfilingParseRunner<V>

public static class ProfilingParseRunner.Report
extends java.lang.Object


Field Summary
static Predicate<ProfilingParseRunner.RuleReport> allRules
           
 double matchShare
           
static Predicate<ProfilingParseRunner.RuleReport> namedRules
           
 int reinvocations
           
 double reinvocationShare
           
 int rematches
           
 int remismatches
           
 java.util.List<ProfilingParseRunner.RuleReport> ruleReports
           
 int totalInvocations
           
 int totalMatches
           
 int totalMismatches
           
 long totalNanoTime
           
 int totalRuns
           
 
Constructor Summary
ProfilingParseRunner.Report(int totalRuns, int totalMatches, int totalMismatches, int rematches, int remismatches, long totalNanoTime, java.util.List<ProfilingParseRunner.RuleReport> ruleReports)
           
 
Method Summary
 java.lang.String print()
           
 java.lang.String printBasics()
           
 java.lang.String printTopRules(int count, Predicate<ProfilingParseRunner.RuleReport> filter)
           
 ProfilingParseRunner.Report sortByInvocations()
           
 ProfilingParseRunner.Report sortByMatches()
           
 ProfilingParseRunner.Report sortByMismatches()
           
 ProfilingParseRunner.Report sortByReinvocations()
           
 ProfilingParseRunner.Report sortByRematches()
           
 ProfilingParseRunner.Report sortByRemismatches()
           
 ProfilingParseRunner.Report sortByResubinvocations()
           
 ProfilingParseRunner.Report sortByResubmismatches()
           
 ProfilingParseRunner.Report sortBySubInvocations()
           
 ProfilingParseRunner.Report sortByTime()
           
 ProfilingParseRunner.Report sortByTimePerInvocation()
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

allRules

public static final Predicate<ProfilingParseRunner.RuleReport> allRules

namedRules

public static final Predicate<ProfilingParseRunner.RuleReport> namedRules

totalRuns

public final int totalRuns

totalInvocations

public final int totalInvocations

totalMatches

public final int totalMatches

totalMismatches

public final int totalMismatches

matchShare

public final double matchShare

reinvocations

public final int reinvocations

rematches

public final int rematches

remismatches

public final int remismatches

reinvocationShare

public final double reinvocationShare

totalNanoTime

public final long totalNanoTime

ruleReports

public final java.util.List<ProfilingParseRunner.RuleReport> ruleReports
Constructor Detail

ProfilingParseRunner.Report

public ProfilingParseRunner.Report(int totalRuns,
                                   int totalMatches,
                                   int totalMismatches,
                                   int rematches,
                                   int remismatches,
                                   long totalNanoTime,
                                   java.util.List<ProfilingParseRunner.RuleReport> ruleReports)
Method Detail

print

public java.lang.String print()

printBasics

public java.lang.String printBasics()

printTopRules

public java.lang.String printTopRules(int count,
                                      Predicate<ProfilingParseRunner.RuleReport> filter)

sortByInvocations

public ProfilingParseRunner.Report sortByInvocations()

sortBySubInvocations

public ProfilingParseRunner.Report sortBySubInvocations()

sortByTime

public ProfilingParseRunner.Report sortByTime()

sortByTimePerInvocation

public ProfilingParseRunner.Report sortByTimePerInvocation()

sortByMatches

public ProfilingParseRunner.Report sortByMatches()

sortByMismatches

public ProfilingParseRunner.Report sortByMismatches()

sortByReinvocations

public ProfilingParseRunner.Report sortByReinvocations()

sortByResubinvocations

public ProfilingParseRunner.Report sortByResubinvocations()

sortByRematches

public ProfilingParseRunner.Report sortByRematches()

sortByRemismatches

public ProfilingParseRunner.Report sortByRemismatches()

sortByResubmismatches

public ProfilingParseRunner.Report sortByResubmismatches()