headerphoto

APG Version 5.0 - Figures

Figure 1. Packrat statistics for a typical MECAGO message. Note that the use of PPT significantly reduces the number of multiple hits.

******************************
*** Statistics without PPT ***
******************************
 
*************************
*** Parser Statistics ***
*************************
 
BACK TRACKING
back track occurrences = 678
back tracked characters= 10
 
OPERATORS TESTED
        total   MATCH   EMPTY NOMATCH CHILDREN
  RNM     947     409      14     524
  ALT     520     304       0     216     908
  CAT     228      63       0     165     356
  REP      92      67      23       2     248
  PRD       0       0       0       0
  TRG     480     199       0     281
  TBS       0       0       0       0
  TLS     193      16       0     177
TOTAL    2460    1058      37    1365    1512
 
PREDICTIVE PARSING TABLES TESTED
        total   MATCH   EMPTY NOMATCH  ACTIVE
  PPT       0       0       0       0       0
 
EOF CHARACTERS TESTED
        total   MATCH
  EOF      15       0
 
*** Packrat Rule Stats
*** Packrat hit counts
105546 rules * chars
104666 no hits
 827 single hits
  53 multiple hits
 
*** Packrat multiple hits
[     ALPHA,  100] 2 hits
[     DIGIT,  100] 2 hits
[        SP,  267] 2 hits
[        SP,  269] 2 hits
[        SP,  270] 2 hits
[        SP,  271] 2 hits
[        SP,  272] 2 hits
[        SP,  273] 2 hits
[        SP,  274] 2 hits
[        SP,  275] 2 hits
[        SP,  282] 2 hits
[        SP,  287] 3 hits
[        SP,  290] 3 hits
[      HTAB,  267] 2 hits
[      HTAB,  275] 2 hits
[      HTAB,  282] 2 hits
[      HTAB,  287] 3 hits
[      HTAB,  290] 3 hits
[        CR,  267] 2 hits
[        CR,  275] 2 hits
[        CR,  282] 2 hits
[        CR,  287] 3 hits
[        CR,  290] 3 hits
[        LF,  268] 2 hits
[        LF,  275] 2 hits
[        LF,  282] 2 hits
[        LF,  287] 3 hits
[        LF,  290] 3 hits
[      LWSP,  267] 2 hits
[      LWSP,  287] 2 hits
[      LWSP,  290] 2 hits
[       EOL,  267] 2 hits
[       EOL,  275] 2 hits
[       EOL,  282] 2 hits
[       EOL,  287] 3 hits
[       EOL,  290] 3 hits
[       WSP,  267] 2 hits
[       WSP,  269] 2 hits
[       WSP,  270] 2 hits
[       WSP,  271] 2 hits
[       WSP,  272] 2 hits
[       WSP,  273] 2 hits
[       WSP,  274] 2 hits
[       WSP,  275] 2 hits
[       WSP,  282] 2 hits
[       WSP,  287] 3 hits
[       WSP,  290] 3 hits
[   COMMENT,  267] 2 hits
[   COMMENT,  275] 2 hits
[   COMMENT,  282] 2 hits
[   COMMENT,  287] 3 hits
[   COMMENT,  290] 3 hits
[ContextAttrToken,   76] 2 hits
 
******************************
*** Statistics with PPT    ***
******************************
 
*************************
*** Parser Statistics ***
*************************
 
BACK TRACKING
back track occurrences = 83
back tracked characters= 20
 
OPERATORS TESTED
        total   MATCH   EMPTY NOMATCH CHILDREN
  RNM     428     409      14       5
  ALT     280     280       0       0     281
  CAT      71      63       0       8     165
  REP      69      67       2       0     179
  PRD       0       0       0       0
  TRG       0       0       0       0
  TBS       0       0       0       0
  TLS      12      11       0       1
TOTAL     860     830      16      14     625
 
PREDICTIVE PARSING TABLES TESTED
        total   MATCH   EMPTY NOMATCH  ACTIVE
  PPT    1206     204      20     123     859
 
EOF CHARACTERS TESTED
        total   MATCH
  EOF       2       0
 
*** Packrat Rule Stats
*** Packrat hit counts
105546 rules * chars
105320 no hits
 218 single hits
   8 multiple hits
 
*** Packrat multiple hits
[      LWSP,  267] 2 hits
[       EOL,  267] 2 hits
[       WSP,  269] 2 hits
[       WSP,  270] 2 hits
[       WSP,  271] 2 hits
[       WSP,  272] 2 hits
[       WSP,  273] 2 hits
[       WSP,  274] 2 hits
 
              Backtracks =  8.169 x PPT Backtracks
Total opcode operations  =  2.86 x PPT Total opcode operations
 
***
*** ERROR MESSAGES[0]
***
<none>