Changeset 3406


Ignore:
Timestamp:
Jul 17, 2013, 10:39:11 PM (6 years ago)
Author:
cameron
Message:

Name the regexps

File:
1 edited

Legend:

Unmodified
Added
Removed
  • proto/RE/performance/perf.py

    r3342 r3406  
    109109expressions.append(Expression('^Twain', '^Twain', ('regex_perf',)))
    110110expressions.append(Expression('Twain$', 'Twain$', ('regex_perf',)))
    111 expressions.append(Expression('Huck[a-zA-Z]+|Finn[a-zA-Z]+', 'Huck[a-zA-Z]+|Finn[a-zA-Z]+', ('regex_perf',)))
    112 expressions.append(Expression('a[^x]{20}b', 'a[^x]{20}b', ('regex_perf',)))
    113 expressions.append(Expression('Tom|Sawyer|Huckleberry|Finn', 'Tom|Sawyer|Huckleberry|Finn', ('regex_perf',)))
    114 expressions.append(Expression('.{0,3}(Tom|Sawyer|Huckleberry|Finn)', '.{0,3}(Tom|Sawyer|Huckleberry|Finn)', ('regex_perf',)))
    115 expressions.append(Expression('[a-zA-Z]+ing', '[a-zA-Z]+ing', ('regex_perf',)))
    116 expressions.append(Expression('^[a-zA-Z]{0,4}ing[^a-zA-Z]', '^[a-zA-Z]{0,4}ing[^a-zA-Z]', ('regex_perf',)))
    117 expressions.append(Expression('[a-zA-Z]+ing$', '[a-zA-Z]+ing$', ('regex_perf',)))
    118 expressions.append(Expression('^[a-zA-Z ]{5,}$', '^[a-zA-Z ]{5,}$', ('regex_perf',)))
    119 expressions.append(Expression('^.{16,20}$', '^.{16,20}$', ('regex_perf',)))
    120 expressions.append(Expression('([a-f](.[d-m].){0,2}[h-n]){2}', '([a-f](.[d-m].){0,2}[h-n]){2}', ('regex_perf',)))
    121 expressions.append(Expression('([A-Za-z]awyer|[A-Za-z]inn)[^a-zA-Z]', '([A-Za-z]awyer|[A-Za-z]inn)[^a-zA-Z]', ('regex_perf',)))
    122 expressions.append(Expression('"[^"]{0,30}[?!\.]"', '"[^"]{0,30}[?!\.]"', ('regex_perf',)))
    123 expressions.append(Expression('Tom.{10,25}river|river.{10,25}Tom', 'Tom.{10,25}river|river.{10,25}Tom', ('regex_perf',)))
     111expressions.append(Expression('Huck[a-zA-Z]+|Finn[a-zA-Z]+', 'Huck_or_Finn_', ('regex_perf',)))
     112expressions.append(Expression('a[^x]{20}b', 'a----b', ('regex_perf',)))
     113expressions.append(Expression('Tom|Sawyer|Huckleberry|Finn', 'Tom_or_Huck', ('regex_perf',)))
     114expressions.append(Expression('.{0,3}(Tom|Sawyer|Huckleberry|Finn)', '__Tom_or_Huck', ('regex_perf',)))
     115expressions.append(Expression('[a-zA-Z]+ing', '___ing', ('regex_perf',)))
     116expressions.append(Expression('^[a-zA-Z]{0,4}ing[^a-zA-Z]', '....ing_', ('regex_perf',)))
     117expressions.append(Expression('[a-zA-Z]+ing$', '___ing$', ('regex_perf',)))
     118expressions.append(Expression('^[a-zA-Z ]{5,}$', 'symline5+$', ('regex_perf',)))
     119expressions.append(Expression('^.{16,20}$', 'line16-20', ('regex_perf',)))
     120expressions.append(Expression('([a-f](.[d-m].){0,2}[h-n]){2}', 'af_hnaf_hn', ('regex_perf',)))
     121expressions.append(Expression('([A-Za-z]awyer|[A-Za-z]inn)[^a-zA-Z]', '_awyer_or_inn', ('regex_perf',)))
     122expressions.append(Expression('"[^"]{0,30}[?!\.]"', 'quoted_sentence0-30', ('regex_perf',)))
     123expressions.append(Expression('Tom.{10,25}river|river.{10,25}Tom', 'Tom_near_river', ('regex_perf',)))
    124124
    125125
     
    136136
    137137
    138 programs = ['bitstreams','grep','nrgrep','agrep']
     138programs = ['bitstreams','grep']#,'nrgrep','agrep']
    139139stats = ['cycles', 'instructions']
    140140
Note: See TracChangeset for help on using the changeset viewer.