[go: up one dir, main page]

regex 0.1.67

An implementation of regular expressions for Rust. This implementation uses finite automata and guarantees linear time matching on all inputs.
Documentation
   Compiling regex-benchmark v0.1.0 (file:///home/andrew/data/projects/rust/regex/benches)
   Compiling regex v0.1.66 (file:///home/andrew/data/projects/rust/regex)
     Running benches/target/release/re2-c4ad19260e6b29dd

running 73 tests
test misc::anchored_literal_long_match       ... bench:          92 ns/iter (+/- 3) = 4239 MB/s
test misc::anchored_literal_long_non_match   ... bench:          20 ns/iter (+/- 0) = 19500 MB/s
test misc::anchored_literal_short_match      ... bench:          92 ns/iter (+/- 2) = 282 MB/s
test misc::anchored_literal_short_non_match  ... bench:          20 ns/iter (+/- 0) = 1300 MB/s
test misc::easy0_1K                          ... bench:         168 ns/iter (+/- 2) = 6255 MB/s
test misc::easy0_1MB                         ... bench:      39,244 ns/iter (+/- 1,010) = 26720 MB/s
test misc::easy0_32                          ... bench:         145 ns/iter (+/- 4) = 406 MB/s
test misc::easy0_32K                         ... bench:         944 ns/iter (+/- 13) = 34740 MB/s
test misc::easy1_1K                          ... bench:         157 ns/iter (+/- 1) = 6649 MB/s
test misc::easy1_1MB                         ... bench:      39,157 ns/iter (+/- 321) = 26779 MB/s
test misc::easy1_32                          ... bench:         130 ns/iter (+/- 3) = 400 MB/s
test misc::easy1_32K                         ... bench:         936 ns/iter (+/- 11) = 35029 MB/s
test misc::hard_1K                           ... bench:       2,684 ns/iter (+/- 21) = 391 MB/s
test misc::hard_1MB                          ... bench:   2,587,145 ns/iter (+/- 20,728) = 405 MB/s
test misc::hard_32                           ... bench:         213 ns/iter (+/- 2) = 276 MB/s
test misc::hard_32K                          ... bench:      80,978 ns/iter (+/- 425) = 404 MB/s
test misc::literal                           ... bench:          88 ns/iter (+/- 0) = 579 MB/s
test misc::long_needle1                      ... bench:     195,583 ns/iter (+/- 480) = 511 MB/s
test misc::long_needle2                      ... bench:     195,550 ns/iter (+/- 959) = 511 MB/s
test misc::match_class                       ... bench:         256 ns/iter (+/- 1) = 316 MB/s
test misc::match_class_in_range              ... bench:         259 ns/iter (+/- 5) = 312 MB/s
test misc::match_class_unicode               ... bench:         814 ns/iter (+/- 4) = 197 MB/s
test misc::medium_1K                         ... bench:       2,247 ns/iter (+/- 32) = 468 MB/s
test misc::medium_1MB                        ... bench:   2,150,720 ns/iter (+/- 846,225) = 487 MB/s
test misc::medium_32                         ... bench:         221 ns/iter (+/- 0) = 271 MB/s
test misc::medium_32K                        ... bench:      67,204 ns/iter (+/- 6,948) = 488 MB/s
test misc::no_exponential                    ... bench:         298 ns/iter (+/- 12) = 335 MB/s
test misc::not_literal                       ... bench:         187 ns/iter (+/- 1) = 272 MB/s
test misc::one_pass_long_prefix              ... bench:          87 ns/iter (+/- 1) = 298 MB/s
test misc::one_pass_long_prefix_not          ... bench:         140 ns/iter (+/- 0) = 185 MB/s
test misc::one_pass_short                    ... bench:         122 ns/iter (+/- 0) = 139 MB/s
test misc::one_pass_short_not                ... bench:         120 ns/iter (+/- 2) = 141 MB/s
test misc::reallyhard2_1K                    ... bench:       2,125 ns/iter (+/- 9) = 489 MB/s
test misc::reallyhard_1K                     ... bench:       2,679 ns/iter (+/- 11) = 392 MB/s
test misc::reallyhard_1MB                    ... bench:   2,584,739 ns/iter (+/- 3,965) = 405 MB/s
test misc::reallyhard_32                     ... bench:         213 ns/iter (+/- 1) = 276 MB/s
test misc::reallyhard_32K                    ... bench:      80,821 ns/iter (+/- 234) = 405 MB/s
test sherlock::before_holmes                 ... bench:   1,687,815 ns/iter (+/- 2,700) = 352 MB/s
test sherlock::everything_greedy             ... bench:   8,615,908 ns/iter (+/- 17,050) = 69 MB/s
test sherlock::everything_greedy_nl          ... bench:   3,792,735 ns/iter (+/- 6,803) = 156 MB/s
test sherlock::holmes_cochar_watson          ... bench:   6,073,810 ns/iter (+/- 109,848) = 97 MB/s
test sherlock::holmes_coword_watson          ... bench:   4,376,321 ns/iter (+/- 36,007) = 135 MB/s
test sherlock::ing_suffix                    ... bench:   3,205,345 ns/iter (+/- 35,663) = 185 MB/s
test sherlock::ing_suffix_limited_space      ... bench:   2,072,987 ns/iter (+/- 7,362) = 286 MB/s
test sherlock::letters                       ... bench:  88,468,977 ns/iter (+/- 146,515) = 6 MB/s
test sherlock::letters_lower                 ... bench:  86,175,788 ns/iter (+/- 102,069) = 6 MB/s
test sherlock::letters_upper                 ... bench:   4,133,215 ns/iter (+/- 11,258) = 143 MB/s
test sherlock::line_boundary_sherlock_holmes ... bench:   4,525,051 ns/iter (+/- 29,794) = 131 MB/s
test sherlock::name_alt1                     ... bench:      73,875 ns/iter (+/- 595) = 8053 MB/s
test sherlock::name_alt2                     ... bench:   3,424,970 ns/iter (+/- 138,657) = 173 MB/s
test sherlock::name_alt3                     ... bench:   3,335,895 ns/iter (+/- 142,689) = 178 MB/s
test sherlock::name_alt3_nocase              ... bench:   4,775,870 ns/iter (+/- 48,899) = 124 MB/s
test sherlock::name_alt4                     ... bench:   3,095,974 ns/iter (+/- 469,669) = 192 MB/s
test sherlock::name_alt4_nocase              ... bench:   3,208,627 ns/iter (+/- 52,416) = 185 MB/s
test sherlock::name_alt5                     ... bench:   3,396,094 ns/iter (+/- 109,692) = 175 MB/s
test sherlock::name_alt5_nocase              ... bench:   4,525,131 ns/iter (+/- 141,132) = 131 MB/s
test sherlock::name_holmes                   ... bench:     149,393 ns/iter (+/- 519) = 3982 MB/s
test sherlock::name_holmes_nocase            ... bench:   4,325,634 ns/iter (+/- 114,003) = 137 MB/s
test sherlock::name_sherlock                 ... bench:      56,467 ns/iter (+/- 412) = 10535 MB/s
test sherlock::name_sherlock_holmes          ... bench:      60,140 ns/iter (+/- 371) = 9892 MB/s
test sherlock::name_sherlock_holmes_nocase   ... bench:   4,519,393 ns/iter (+/- 397,950) = 131 MB/s
test sherlock::name_sherlock_nocase          ... bench:   4,483,516 ns/iter (+/- 546,371) = 132 MB/s
test sherlock::name_whitespace               ... bench:      61,915 ns/iter (+/- 404) = 9608 MB/s
test sherlock::no_match_common               ... bench:     484,129 ns/iter (+/- 47,548) = 1228 MB/s
test sherlock::no_match_really_common        ... bench:     484,433 ns/iter (+/- 2,670) = 1228 MB/s
test sherlock::no_match_uncommon             ... bench:      24,054 ns/iter (+/- 56) = 24733 MB/s
test sherlock::quotes                        ... bench:   5,392,893 ns/iter (+/- 33,852) = 110 MB/s
test sherlock::the_lower                     ... bench:   2,156,154 ns/iter (+/- 702,613) = 275 MB/s
test sherlock::the_nocase                    ... bench:   4,094,161 ns/iter (+/- 47,453) = 145 MB/s
test sherlock::the_upper                     ... bench:     207,334 ns/iter (+/- 872) = 2869 MB/s
test sherlock::the_whitespace                ... bench:   2,132,436 ns/iter (+/- 24,289) = 278 MB/s
test sherlock::word_ending_n                 ... bench:   3,005,600 ns/iter (+/- 13,405) = 197 MB/s
test sherlock::words                         ... bench:  26,468,150 ns/iter (+/- 181,738) = 22 MB/s

test result: ok. 0 passed; 0 failed; 0 ignored; 73 measured