[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 bitflags v0.4.0
   Compiling regex-benchmark v0.1.0 (file:///home/andrew/data/projects/rust/regex/benches)
   Compiling onig_sys v0.6.0
   Compiling onig v0.4.0
     Running benches/target/release/onig-09fdbf1a0aeeb372

running 71 tests
test misc::anchored_literal_long_match       ... bench:          65 ns/iter (+/- 0) = 6000 MB/s
test misc::anchored_literal_long_non_match   ... bench:         416 ns/iter (+/- 5) = 937 MB/s
test misc::anchored_literal_short_match      ... bench:          65 ns/iter (+/- 0) = 400 MB/s
test misc::anchored_literal_short_non_match  ... bench:          36 ns/iter (+/- 1) = 722 MB/s
test misc::easy0_1K                          ... bench:         216 ns/iter (+/- 3) = 4865 MB/s
test misc::easy0_1MB                         ... bench:     130,265 ns/iter (+/- 1,337) = 8049 MB/s
test misc::easy0_32                          ... bench:          85 ns/iter (+/- 2) = 694 MB/s
test misc::easy0_32K                         ... bench:       4,103 ns/iter (+/- 45) = 7992 MB/s
test misc::easy1_1K                          ... bench:       3,654 ns/iter (+/- 37) = 285 MB/s
test misc::easy1_1MB                         ... bench:   3,623,978 ns/iter (+/- 18,700) = 289 MB/s
test misc::easy1_32                          ... bench:         236 ns/iter (+/- 3) = 220 MB/s
test misc::easy1_32K                         ... bench:     113,212 ns/iter (+/- 1,313) = 289 MB/s
test misc::hard_1K                           ... bench:     184,718 ns/iter (+/- 2,420) = 5 MB/s
test misc::hard_1MB                          ... bench: 198,971,483 ns/iter (+/- 154,949) = 5 MB/s
test misc::hard_32                           ... bench:       5,780 ns/iter (+/- 76) = 10 MB/s
test misc::hard_32K                          ... bench:   6,195,315 ns/iter (+/- 32,894) = 5 MB/s
test misc::literal                           ... bench:         219 ns/iter (+/- 3) = 232 MB/s
test misc::long_needle1                      ... bench:   7,035,183 ns/iter (+/- 59,360) = 14 MB/s
test misc::long_needle2                      ... bench:   7,032,036 ns/iter (+/- 120,192) = 14 MB/s
test misc::match_class                       ... bench:         329 ns/iter (+/- 4) = 246 MB/s
test misc::match_class_in_range              ... bench:         331 ns/iter (+/- 3) = 244 MB/s
test misc::match_class_unicode               ... bench:       1,985 ns/iter (+/- 45) = 81 MB/s
test misc::medium_1K                         ... bench:         234 ns/iter (+/- 4) = 4495 MB/s
test misc::medium_1MB                        ... bench:     130,191 ns/iter (+/- 965) = 8054 MB/s
test misc::medium_32                         ... bench:          95 ns/iter (+/- 1) = 631 MB/s
test misc::medium_32K                        ... bench:       4,119 ns/iter (+/- 66) = 7962 MB/s
test misc::not_literal                       ... bench:         352 ns/iter (+/- 7) = 144 MB/s
test misc::one_pass_long_prefix              ... bench:          90 ns/iter (+/- 0) = 288 MB/s
test misc::one_pass_long_prefix_not          ... bench:          97 ns/iter (+/- 2) = 268 MB/s
test misc::one_pass_short                    ... bench:         316 ns/iter (+/- 3) = 53 MB/s
test misc::one_pass_short_not                ... bench:         314 ns/iter (+/- 4) = 54 MB/s
test misc::reallyhard2_1K                    ... bench:     564,530 ns/iter (+/- 8,200) = 1 MB/s
test misc::reallyhard_1K                     ... bench:     184,709 ns/iter (+/- 1,861) = 5 MB/s
test misc::reallyhard_1MB                    ... bench: 198,989,599 ns/iter (+/- 1,051,930) = 5 MB/s
test misc::reallyhard_32                     ... bench:       5,775 ns/iter (+/- 279) = 10 MB/s
test misc::reallyhard_32K                    ... bench:   6,184,574 ns/iter (+/- 66,310) = 5 MB/s
test sherlock::before_holmes                 ... bench:  70,861,429 ns/iter (+/- 416,112) = 8 MB/s
test sherlock::everything_greedy             ... bench:   5,132,135 ns/iter (+/- 77,804) = 115 MB/s
test sherlock::holmes_cochar_watson          ... bench:   2,382,683 ns/iter (+/- 23,243) = 249 MB/s
test sherlock::ing_suffix                    ... bench:  28,474,140 ns/iter (+/- 222,461) = 20 MB/s
test sherlock::ing_suffix_limited_space      ... bench:   2,719,036 ns/iter (+/- 87,121) = 218 MB/s
test sherlock::letters                       ... bench:  26,131,398 ns/iter (+/- 374,226) = 22 MB/s
test sherlock::letters_lower                 ... bench:  25,848,836 ns/iter (+/- 352,384) = 23 MB/s
test sherlock::letters_upper                 ... bench:  11,224,505 ns/iter (+/- 265,994) = 53 MB/s
test sherlock::line_boundary_sherlock_holmes ... bench:     195,793 ns/iter (+/- 1,903) = 3038 MB/s
test sherlock::name_alt1                     ... bench:   2,100,589 ns/iter (+/- 18,027) = 283 MB/s
test sherlock::name_alt2                     ... bench:   2,212,578 ns/iter (+/- 29,546) = 268 MB/s
test sherlock::name_alt3                     ... bench:   3,030,414 ns/iter (+/- 40,156) = 196 MB/s
test sherlock::name_alt3_nocase              ... bench:  39,649,457 ns/iter (+/- 475,661) = 15 MB/s
test sherlock::name_alt4                     ... bench:   2,227,496 ns/iter (+/- 27,819) = 267 MB/s
test sherlock::name_alt4_nocase              ... bench:   8,263,170 ns/iter (+/- 79,991) = 71 MB/s
test sherlock::name_alt5                     ... bench:   2,301,660 ns/iter (+/- 26,653) = 258 MB/s
test sherlock::name_alt5_nocase              ... bench:  11,558,652 ns/iter (+/- 153,615) = 51 MB/s
test sherlock::name_holmes                   ... bench:     402,155 ns/iter (+/- 7,077) = 1479 MB/s
test sherlock::name_holmes_nocase            ... bench:   4,102,234 ns/iter (+/- 63,477) = 145 MB/s
test sherlock::name_sherlock                 ... bench:     269,355 ns/iter (+/- 3,740) = 2208 MB/s
test sherlock::name_sherlock_holmes          ... bench:     196,153 ns/iter (+/- 3,631) = 3033 MB/s
test sherlock::name_sherlock_holmes_nocase   ... bench:   4,392,206 ns/iter (+/- 124,418) = 135 MB/s
test sherlock::name_sherlock_nocase          ... bench:   4,391,082 ns/iter (+/- 55,946) = 135 MB/s
test sherlock::name_whitespace               ... bench:     273,887 ns/iter (+/- 3,100) = 2172 MB/s
test sherlock::no_match_common               ... bench:     588,891 ns/iter (+/- 3,670) = 1010 MB/s
test sherlock::no_match_really_common        ... bench:     673,719 ns/iter (+/- 4,234) = 883 MB/s
test sherlock::no_match_uncommon             ... bench:     578,100 ns/iter (+/- 4,795) = 1029 MB/s
test sherlock::quotes                        ... bench:   4,080,241 ns/iter (+/- 58,231) = 145 MB/s
test sherlock::repeated_class_negation       ... bench:  43,438,896 ns/iter (+/- 494,060) = 13 MB/s
test sherlock::the_lower                     ... bench:   1,278,090 ns/iter (+/- 13,992) = 465 MB/s
test sherlock::the_nocase                    ... bench:   5,100,113 ns/iter (+/- 129,810) = 116 MB/s
test sherlock::the_upper                     ... bench:     817,850 ns/iter (+/- 19,798) = 727 MB/s
test sherlock::the_whitespace                ... bench:   2,069,286 ns/iter (+/- 29,981) = 287 MB/s
test sherlock::word_ending_n                 ... bench:  27,781,612 ns/iter (+/- 167,325) = 21 MB/s
test sherlock::words                         ... bench:  19,432,949 ns/iter (+/- 83,655) = 30 MB/s

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